Spaces:
Runtime error
Runtime error
Download live2diff/MiDaS/mobile/android/lib_task_api/build.gradle from Leoxing/Live2Diff: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/spaces/Leoxing/Live2Diff/resolve/main/live2diff/MiDaS/mobile/android/lib_task_api/build.gradle
- Command line
-
hf download hf://spaces/Leoxing/Live2Diff/live2diff/MiDaS/mobile/android/lib_task_api/build.gradle
-
curl -L -o build.gradle https://huggingface.co/spaces/Leoxing/Live2Diff/resolve/main/live2diff/MiDaS/mobile/android/lib_task_api/build.gradle
1.31 kB
| 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 | |
| // Or, if you prefer, you can continue to check for errors in release builds, | |
| // but continue the build even when errors are found: | |
| abortOnError false | |
| } | |
| } | |
| dependencies { | |
| implementation fileTree(dir: 'libs', include: ['*.jar']) | |
| implementation project(":models") | |
| implementation 'androidx.appcompat:appcompat:1.1.0' | |
| // Build off of nightly TensorFlow Lite Task Library | |
| 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 } | |
| } | |