2017-06-11 19:24:09 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2021-05-08 00:11:00 +08:00
|
|
|
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
|
2018-04-01 01:19:55 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.neoterm"
|
|
|
|
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
|
|
|
|
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
|
2021-05-19 22:43:50 +08:00
|
|
|
versionCode 38
|
2021-05-08 00:11:00 +08:00
|
|
|
versionName "2.0.5"
|
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
|
resConfigs "zh-rCN", "zh-rTW"
|
2017-06-11 19:24:09 +08:00
|
|
|
externalNativeBuild {
|
2021-05-08 00:11:00 +08:00
|
|
|
cmake {
|
|
|
|
cppFlags "-std=c++11"
|
|
|
|
abiFilters 'arm64-v8a'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['src/main/jniLibs']
|
|
|
|
}
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
2021-05-08 00:11:00 +08:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
zipAlignEnabled true
|
|
|
|
shrinkResources true
|
2017-08-11 21:51:25 +08:00
|
|
|
}
|
2021-05-08 00:11:00 +08:00
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
2018-02-15 23:44:38 +08:00
|
|
|
}
|
2021-05-08 00:11:00 +08:00
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
checkReleaseBuilds false
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
targetCompatibility 1.8
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
}
|
2021-05-08 13:42:17 +08:00
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = ["-Xallow-result-return-type"]
|
|
|
|
}
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-08 00:11:00 +08:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
testImplementation rootProject.ext.deps["junit"]
|
|
|
|
androidTestImplementation project(path: ':NeoLang')
|
2017-12-15 00:14:46 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
implementation rootProject.ext.deps["kotlin-stdlib"]
|
2017-12-15 00:14:46 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
implementation 'com.github.wrdlbrnft:modular-adapter:0.2.0.6'
|
|
|
|
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.2.0.19'
|
|
|
|
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
|
|
|
|
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'
|
|
|
|
implementation 'com.github.GrenderG:Color-O-Matic:1.1.5'
|
|
|
|
implementation 'androidx.annotation:annotation:1.2.0'
|
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat-resources:1.2.0'
|
2017-12-15 00:14:46 +08:00
|
|
|
|
2021-05-08 00:11:00 +08:00
|
|
|
implementation project(':chrome-tabs')
|
|
|
|
implementation project(':NeoLang')
|
|
|
|
implementation project(':NeoTermBridge')
|
|
|
|
implementation project(':Xorg')
|
2017-06-11 19:24:09 +08:00
|
|
|
}
|