nift4 | 57a1e69 | 2023-01-11 15:10:47 +0100 | [diff] [blame] | 1 | plugins { |
| 2 | id 'com.android.application' |
| 3 | } |
| 4 | |
| 5 | android { |
| 6 | namespace 'com.libremobileos.facedetect' |
| 7 | compileSdk 33 |
| 8 | |
| 9 | defaultConfig { |
| 10 | applicationId "com.libremobileos.facedetect" |
nift4 | 149a9ca | 2023-01-12 20:47:41 +0100 | [diff] [blame] | 11 | minSdk 29 |
| 12 | targetSdk 33 |
nift4 | 57a1e69 | 2023-01-11 15:10:47 +0100 | [diff] [blame] | 13 | versionCode 1 |
| 14 | versionName "1.0" |
| 15 | } |
| 16 | |
| 17 | buildTypes { |
| 18 | release { |
| 19 | minifyEnabled false |
| 20 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 21 | } |
| 22 | } |
| 23 | compileOptions { |
| 24 | sourceCompatibility JavaVersion.VERSION_11 |
| 25 | targetCompatibility JavaVersion.VERSION_11 |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | dependencies { |
| 30 | implementation('androidx.annotation:annotation:1.5.0') |
nift4 | 4406e1d | 2023-01-14 00:12:06 +0100 | [diff] [blame] | 31 | implementation('androidx.appcompat:appcompat:1.6.0') |
nift4 | 149a9ca | 2023-01-12 20:47:41 +0100 | [diff] [blame] | 32 | implementation(project(':FaceShared')) |
nift4 | 57a1e69 | 2023-01-11 15:10:47 +0100 | [diff] [blame] | 33 | |
nift4 | 4406e1d | 2023-01-14 00:12:06 +0100 | [diff] [blame] | 34 | def camerax_version = "1.3.0-alpha02" |
| 35 | implementation "androidx.camera:camera-core:${camerax_version}" |
| 36 | implementation "androidx.camera:camera-camera2:${camerax_version}" |
| 37 | implementation "androidx.camera:camera-lifecycle:${camerax_version}" |
| 38 | implementation "androidx.camera:camera-video:${camerax_version}" |
| 39 | implementation "androidx.camera:camera-view:${camerax_version}" |
| 40 | implementation "androidx.camera:camera-extensions:${camerax_version}" |
| 41 | implementation "androidx.exifinterface:exifinterface:1.3.5" |
nift4 | 57a1e69 | 2023-01-11 15:10:47 +0100 | [diff] [blame] | 42 | } |