| apply plugin: 'com.android.library' |
|
|
| android { |
| compileSdkVersion 28 |
| buildToolsVersion "28.0.0" |
|
|
| defaultConfig { |
| minSdkVersion 21 |
| targetSdkVersion 28 |
| versionCode 1 |
| versionName "1.0" |
|
|
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
| } |
|
|
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| } |
| } |
| compileOptions { |
| sourceCompatibility = '1.8' |
| targetCompatibility = '1.8' |
| } |
| aaptOptions { |
| noCompress "tflite" |
| } |
|
|
| lintOptions { |
| checkReleaseBuilds false |
| |
| |
| abortOnError false |
| } |
| } |
|
|
| dependencies { |
| implementation fileTree(dir: 'libs', include: ['*.jar']) |
| implementation project(":models") |
| implementation 'androidx.appcompat:appcompat:1.1.0' |
|
|
| |
| implementation('org.tensorflow:tensorflow-lite-task-vision:0.0.0-nightly') { changing = true } |
| implementation('org.tensorflow:tensorflow-lite-metadata:0.0.0-nightly') { changing = true } |
| } |
|
|