1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- }
- android {
- namespace 'jx.cn.escort'
- compileSdk 34
- defaultConfig {
- applicationId "jx.cn.escort"
- minSdk 24
- targetSdk 34
- versionCode 1
- versionName "1.0"
- ndk { abiFilters "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a" }
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- splits {
- abi {
- // enable true
- // reset()
- include "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a"
- // universalApk false
- }
- }
- signingConfigs {
- def keypass=project.property("sign.keytool.keypass")
- def keystore=project.property("sign.keytool.storepass")
- def appAlias=project.property("sign.keytool.appAlias")
- release {
- storeFile file('.\\sign\\jxit.jks')
- storePassword keystore
- keyAlias appAlias
- keyPassword keypass
- }
- debug{
- storeFile file('.\\sign\\jxit.jks')
- storePassword keystore
- keyAlias appAlias
- keyPassword keypass
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- buildFeatures {
- viewBinding true
- dataBinding false
- buildConfig true
- }
- }
- dependencies {
- implementation libs.core.ktx
- implementation libs.appcompat
- implementation libs.material
- implementation libs.constraintlayout
- implementation libs.xui
- implementation libs.recyclerview
- implementation libs.glide
- implementation libs.androidx.navigation.ui.ktx
- implementation libs.koin.android
- implementation libs.preference
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- }
|