-
Notifications
You must be signed in to change notification settings - Fork 185
/
Copy pathbuild.gradle
52 lines (44 loc) · 1.5 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// This file provides basic support for building the TensorFlow demo
// in Android Studio with Gradle.
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
lintOptions {
abortOnError false
}
defaultConfig {
applicationId = 'com.example.androidthings.imageclassifier'
minSdkVersion 27
targetSdkVersion 27
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled = false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
assets.srcDirs = ['./assets']
}
}
aaptOptions {
noCompress "tflite"
}
}
repositories {
jcenter()
}
dependencies {
implementation 'com.android.support:support-annotations:27.1.0'
implementation 'com.google.android.things.contrib:driver-button:1.0'
implementation 'org.tensorflow:tensorflow-lite:0.1.7'
compileOnly 'com.google.android.things:androidthings:1.0'
androidTestImplementation 'com.google.android.things:androidthings:+'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
androidTestImplementation 'org.mockito:mockito-core:1.10.19'
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
androidTestImplementation 'org.powermock:powermock-module-junit4:1.6.6'
}