12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- plugins {
- alias(libs.plugins.android.application)
- }
- android {
- namespace 'com.example.cameraxtestappjava'
- compileSdk 34
- defaultConfig {
- applicationId "com.example.cameraxtestappjava"
- minSdk 23
- targetSdk 34
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildFeatures {
- viewBinding true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation libs.appcompat
- implementation libs.material
- implementation libs.activity
- implementation libs.constraintlayout
- implementation libs.camera.core
- implementation libs.camera.camera2
- implementation libs.camera.lifecycle
- implementation libs.camera.view
- implementation libs.camera.extensions
- testImplementation libs.junit
- androidTestImplementation libs.ext.junit
- androidTestImplementation libs.espresso.core
- testImplementation libs.robolectric
- }
|