NeoTerm_System/app/build.gradle

75 lines
2.5 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
2017-12-14 23:55:15 +08:00
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
buildToolsVersion rootProject.ext.android.BUILD_TOOL_VERSION
defaultConfig {
applicationId "io.neoterm"
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
2017-12-14 23:55:15 +08:00
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
2017-11-30 00:32:25 +08:00
versionCode 32
versionName "2.0.0"
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 {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation rootProject.ext.deps["junit"]
androidTestImplementation project(path: ':NeoLang')
implementation rootProject.ext.deps["kotlin-stdlib"]
implementation rootProject.ext.deps["design"]
implementation rootProject.ext.deps["cardview-v7"]
implementation rootProject.ext.deps["appcompat-v7"]
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'
2017-08-11 21:25:15 +08:00
implementation project(':chrome-tabs')
2017-08-08 16:04:22 +08:00
implementation project(path: ':NeoLang')
2017-11-29 00:36:59 +08:00
implementation project(':Xorg')
}