-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
98 lines (86 loc) · 2.37 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
buildscript {
ext.kotlin_version = '1.2.71'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
flatDir {
dirs 'libs'
}
jcenter()
google()
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation project(':openCVLibrary343')
// https://mvnrepository.com/artifact/com.android.support/support-v13
compile 'com.android.support:support-v13:26.0.1'
implementation 'org.tensorflow:tensorflow-lite:1.10.0'
}
android {
compileSdkVersion 26
buildToolsVersion '26.0.3'
defaultConfig {
minSdkVersion 23
targetSdkVersion 26
applicationId 'com.dankook.cislab'
ndk {
moduleName 'lib-ndk-unity-store-sdk'
abiFilters 'armeabi-v7a'
stl 'stlport_static'
cFlags '-Wno-error=format-security'
ldLibs 'c', 'm', 'log'
}
versionCode 1
versionName '0.1'
}
lintOptions {
abortOnError false
}
aaptOptions {
noCompress '.unity3d', '.ress', '.resource', '.obb'
noCompress "tflite"
noCompress "lite"
}
buildTypes {
debug {
minifyEnabled false
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
jniDebuggable true
}
release {
minifyEnabled false
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
signingConfig signingConfigs.debug
}
}
packagingOptions {
doNotStrip '*/armeabi-v7a/*.so'
doNotStrip '*/x86/*.so'
}
sourceSets { main { jni.srcDirs = ['src/main/jni', 'src/main/jni/2'] } }
externalNativeBuild {
ndkBuild {
path file('src/main/jni/Android.mk')
}
}
}
repositories {
mavenCentral()
google()
jcenter()
}