2017-06-11 19:24:09 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 25
|
|
|
|
buildToolsVersion "25.0.2"
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.neoterm"
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 25
|
2017-08-06 18:49:13 +08:00
|
|
|
versionCode 22
|
|
|
|
versionName "1.2.1"
|
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-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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'
|
2017-06-18 11:22:50 +08:00
|
|
|
compile 'org.greenrobot:eventbus:3.0.0'
|
2017-07-04 01:56:53 +08:00
|
|
|
implementation project(':chrome-tabs')
|
2017-06-12 20:57:53 +08:00
|
|
|
implementation 'com.android.support:design:25.3.1'
|
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-08 16:04:22 +08:00
|
|
|
// compile 'com.ramotion.cardslider:card-slider:0.1.0'
|
|
|
|
// compile 'com.github.igalata:Bubble-Picker:v0.2.4'
|
|
|
|
implementation project(path: ':NeoLang')
|
|
|
|
androidTestImplementation project(path: ':NeoLang')
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|