You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

88 lines
3.1 KiB

apply plugin: 'com.android.application'
android {compileSdkVersion 28
buildToolsVersion '30.0.3'
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.icssoft.icspda"
minSdkVersion 18
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 28
versionCode 10
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
// 指定你的 keystore 文件路径
storeFile file("libs\\appkey.jks") // 这里是你 JKS 文件的相对路径
storePassword "123456" // JKS 文件的密码
keyAlias "test" // 密钥别名
keyPassword "123456" // 密钥的密码
}
debug {
// 指定你的 keystore 文件路径
storeFile file("libs\\appkey.jks") // 这里是你 JKS 文件的相对路径
storePassword "123456" // JKS 文件的密码
keyAlias "test" // 密钥别名
keyPassword "123456" // 密钥的密码
}
}
buildTypes {
release {
// 使用签名配置
// signingConfig signingConfigs.release
lintOptions {
checkReleaseBuilds false
abortOnError false
}
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
debuggable = true
}
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
android.applicationVariants.all {
variant ->
variant.outputs.all {
outputFileName = "ICSPDA_v${defaultConfig.versionName}.apk"
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation files('src\\lib\\JavaMD5.jar')
implementation files('src\\lib\\JavaMD5.jar')
implementation files('libs\\zp_cpcl_new.jar')
implementation files('libs\\ZSDK_ANDROID_API.jar')
implementation files('libs\\zp_cpcl_new.jar')
implementation files('libs\\ZSDK_ANDROID_API.jar')
implementation files('libs\\zp_cpcl_new.jar')
implementation files('libs\\ZSDK_ANDROID_API.jar')
implementation files('libs\\zp_cpcl_new.jar')
implementation files('libs\\zp_cpcl_new.jar')
implementation files('libs\\ZSDK_ANDROID_API.jar')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.github.huangyanbin:SmartTable:2.2.0'
implementation 'com.github.yuzhiqiang1993:zxing:2.2.5'
implementation 'com.squareup.okhttp3:okhttp:3.0.1'
implementation 'com.alibaba:fastjson:1.2.76'
}