NeoTerm_System/app/build.gradle

72 lines
2.3 KiB
Groovy
Raw Normal View History

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"
defaultConfig {
applicationId "io.neoterm"
minSdkVersion 21
2017-08-11 21:25:15 +08:00
targetSdkVersion 26
2017-11-04 23:42:04 +08:00
versionCode 31
versionName "1.2.10"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "zh-rCN", "zh-rTW"
externalNativeBuild {
cmake {
cppFlags "-std=c++11"
abiFilters 'x86_64', 'arm64-v8a', 'armeabi-v7a'
}
}
2017-06-13 18:07:14 +08:00
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
buildTypes {
release {
2017-06-15 12:09:53 +08:00
minifyEnabled true
2017-07-03 18:38:30 +08:00
zipAlignEnabled true
shrinkResources true
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()}"
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
2017-08-11 21:51:25 +08:00
lintOptions {
abortOnError false
checkReleaseBuilds false
}
}
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'
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')
}