2017-06-11 19:24:09 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2017-08-11 21:25:15 +08:00
|
|
|
compileSdkVersion 26
|
2017-10-08 23:34:26 +08:00
|
|
|
buildToolsVersion "26.0.2"
|
2017-06-11 19:24:09 +08:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.neoterm"
|
|
|
|
minSdkVersion 21
|
2017-08-11 21:25:15 +08:00
|
|
|
targetSdkVersion 26
|
2017-11-30 00:32:25 +08:00
|
|
|
versionCode 32
|
|
|
|
versionName "2.0.0"
|
2017-06-11 19:24:09 +08:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2017-07-22 23:42:31 +08:00
|
|
|
resConfigs "zh-rCN", "zh-rTW"
|
2017-06-11 19:24:09 +08:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags "-std=c++11"
|
2017-07-30 23:24:25 +08:00
|
|
|
abiFilters 'x86_64', 'arm64-v8a', 'armeabi-v7a'
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
}
|
2017-06-13 18:07:14 +08:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['src/main/jniLibs']
|
|
|
|
}
|
|
|
|
}
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2017-06-15 12:09:53 +08:00
|
|
|
minifyEnabled true
|
2017-07-03 18:38:30 +08:00
|
|
|
zipAlignEnabled true
|
|
|
|
shrinkResources true
|
2017-06-11 19:24:09 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2017-06-17 12:52:04 +08:00
|
|
|
proguardFile 'app/proguard-rules.pro'
|
2017-10-25 23:33:36 +08:00
|
|
|
versionNameSuffix "-${getGitHeadRefsSuffix()}"
|
|
|
|
}
|
|
|
|
debug {
|
2017-10-26 23:40:28 +08:00
|
|
|
versionNameSuffix "-snapshot-${getGitHeadRefsSuffix()}"
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
|
|
|
}
|
|
|
|
}
|
2017-08-11 21:51:25 +08:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
checkReleaseBuilds false
|
|
|
|
}
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
2017-06-18 11:22:50 +08:00
|
|
|
compile 'org.greenrobot:eventbus:3.0.0'
|
2017-10-08 23:34:26 +08:00
|
|
|
implementation 'com.android.support:design:26.1.0'
|
|
|
|
implementation 'com.android.support:cardview-v7:26.1.0'
|
2017-07-01 00:09:23 +08:00
|
|
|
compile 'com.github.wrdlbrnft:modular-adapter:0.2.0.6'
|
|
|
|
compile 'com.github.wrdlbrnft:sorted-list-adapter:0.2.0.19'
|
|
|
|
compile 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
|
2017-11-03 23:27:44 +08:00
|
|
|
compile 'de.psdev.licensesdialog:licensesdialog:1.8.3'
|
|
|
|
compile 'com.github.GrenderG:Color-O-Matic:1.1.5'
|
2017-08-11 21:25:15 +08:00
|
|
|
implementation project(':chrome-tabs')
|
2017-08-08 16:04:22 +08:00
|
|
|
implementation project(path: ':NeoLang')
|
|
|
|
androidTestImplementation project(path: ':NeoLang')
|
2017-11-29 00:36:59 +08:00
|
|
|
implementation project(':Xorg')
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|