NeoTerm_System/app/build.gradle
2017-07-27 23:54:35 +08:00

70 lines
2.2 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
signingConfigs {
release {
keyAlias 'kiva'
keyPassword 'k12fd15dp'
storeFile file('docs/kiva.keystore')
storePassword 'k12fd15dp'
}
}
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "io.neoterm"
minSdkVersion 21
targetSdkVersion 25
versionCode 17
versionName "1.2.0-rc6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "zh-rCN", "zh-rTW"
externalNativeBuild {
cmake {
cppFlags "-std=c++11"
abiFilters 'x86', 'x86_64', 'arm64-v8a'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
buildTypes {
release {
minifyEnabled true
zipAlignEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
proguardFile 'app/proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
}
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'
compile 'org.greenrobot:eventbus:3.0.0'
implementation project(':chrome-tabs')
implementation 'com.android.support:design:25.3.1'
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 'com.ramotion.cardslider:card-slider:0.1.0'
compile 'com.github.igalata:Bubble-Picker:v0.2.4'
}