NeoTerm_System/app/build.gradle

72 lines
2.4 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
versionCode 30
2017-10-25 23:33:36 +08:00
versionName "1.2.9"
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 {
versionNameSuffix "-snatshot-${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'
2017-08-11 21:25:15 +08:00
compile('de.psdev.licensesdialog:licensesdialog:1.8.3')
2017-08-08 16:04:22 +08:00
// compile 'com.ramotion.cardslider:card-slider:0.1.0'
// compile 'com.github.igalata:Bubble-Picker:v0.2.4'
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')
}