apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION buildToolsVersion rootProject.ext.android.BUILD_TOOL_VERSION defaultConfig { applicationId "io.neoterm" minSdkVersion 21 targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION 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' } } sourceSets { main { jniLibs.srcDirs = ['src/main/jniLibs'] } } } buildTypes { release { minifyEnabled true zipAlignEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFile 'app/proguard-rules.pro' versionNameSuffix "-${getGitHeadRefsSuffix()}" } debug { versionNameSuffix "-snapshot-${getGitHeadRefsSuffix()}" } } externalNativeBuild { cmake { path "CMakeLists.txt" } } 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 rootProject.ext.deps["kotlin-stdlib"] testCompile 'junit:junit:4.12' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'org.greenrobot:eventbus:3.0.0' implementation 'com.android.support:design:26.1.0' implementation 'com.android.support:cardview-v7:26.1.0' 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 'de.psdev.licensesdialog:licensesdialog:1.8.3' compile 'com.github.GrenderG:Color-O-Matic:1.1.5' implementation project(':chrome-tabs') implementation project(path: ':NeoLang') androidTestImplementation project(path: ':NeoLang') implementation project(':Xorg') }