guizhou-fmt-app/app/build.gradle

87 lines
2.7 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.bonus.fmt"
minSdkVersion 21
targetSdkVersion 30
versionCode 2
versionName "2.3"
ndk {
// abiFilters "armeabi"//"arm64-v8a"//, "armeabi-v7a"//, "armeabi", "x86", "x86_64"
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs','libs']
}
}
signingConfigs {
config {
keyAlias 'bnsfmt'
keyPassword 'bnsadmin'
storeFile file('fmtapp.keystore')
storePassword 'bnsadmin'
v1SigningEnabled true //兼容v1
v2SigningEnabled true //兼容v2
}
}
buildTypes {
debug {
signingConfig signingConfigs.config
}
release {
minifyEnabled false
signingConfig signingConfigs.config
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
implementation files('libs/DeviceAPI_ver20250209_release.aar')
implementation files('libs/Android-PickerView-3.2.6.aar')
implementation files('libs/nanohttpd-2.2.0.jar')
implementation "com.android.support:support-v4:30.0.0"
implementation "com.android.support:appcompat-v7:30.0.0"
implementation 'com.android.support:recyclerview-v7:30.0.0'
implementation 'com.facebook.fresco:fresco:1.13.0'
implementation "com.facebook.fresco:animated-gif:1.13.0"
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'com.alibaba:fastjson:1.1.46.android'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.github.xuexiangjys:XUI:1.1.6'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.github.Lingber:Android_DataGridView:1.01'
implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12'
}