Update app/build.gradle
This commit is contained in:
parent
d7e8a2c95d
commit
1d2236984b
|
@ -19,17 +19,17 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersi.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
jni {
|
jni {
|
||||||
srcDirs 'src\\main\\jni', 'src\\main\\jnilibs'
|
main\\jni', 'src\\main\\jnilibs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,7 @@ android {
|
||||||
dependencies {
|
dependencies {
|
||||||
//this include library for tensorflow gpu
|
//this include library for tensorflow gpu
|
||||||
// click on sync now to implement
|
// click on sync now to implement
|
||||||
implementation 'org.tensorflow:tensorflow-lite-metadata:0.1.0-rc1'
|
|
||||||
implementation 'org.tensorflow:tensorflow-lite-gpu:2.2.0'
|
|
||||||
implementation 'org.tensorflow:tensorflow-lite-support:0.1.0'
|
implementation 'org.tensorflow:tensorflow-lite-support:0.1.0'
|
||||||
implementation 'org.tensorflow:tensorflow-lite-task-vision:0.1.0'
|
implementation 'org.tensorflow:tensorflow-lite-task-vision:0.1.0'
|
||||||
implementation 'org.tensorflow:tensorflow-lite-task-text:0.1.0'
|
implementation 'org.tensorflow:tensorflow-lite-task-text:0.1.0'
|
||||||
|
|
Loading…
Reference in New Issue