You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.6 KiB
Groovy
62 lines
1.6 KiB
Groovy
|
2 months ago
|
apply plugin: 'com.android.application'
|
||
|
|
|
||
|
|
android {
|
||
|
|
compileSdkVersion 30
|
||
|
|
defaultConfig {
|
||
|
|
applicationId "com.example.uhf"
|
||
|
|
minSdkVersion 26
|
||
|
|
targetSdkVersion 30
|
||
|
|
versionCode 1
|
||
|
|
versionName "1.0"
|
||
|
|
//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
|
}
|
||
|
|
|
||
|
|
signingConfigs {
|
||
|
|
debug {
|
||
|
|
File strFile = new File("/chainway.keystore")
|
||
|
|
storeFile file(strFile)
|
||
|
|
storePassword "123456"
|
||
|
|
keyPassword "123456"
|
||
|
|
keyAlias "chainway"
|
||
|
|
}
|
||
|
|
release {
|
||
|
|
File strFile = new File("/chainway.keystore")
|
||
|
|
storeFile file(strFile)
|
||
|
|
storePassword "123456"
|
||
|
|
keyPassword "123456"
|
||
|
|
keyAlias "chainway"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = '1.8'
|
||
|
|
targetCompatibility = '1.8'
|
||
|
|
}
|
||
|
|
productFlavors {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
flatDir {
|
||
|
|
dirs 'libs'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
|
|
|
||
|
|
implementation files('libs/xUtils-2.5.5.jar') //implementation files('org.xutils:xutils:2.5.+')
|
||
|
|
implementation files('libs/jxl.jar')
|
||
|
|
implementation(name: 'DeviceAPI_ver20210618', ext: 'aar')
|
||
|
|
|
||
|
|
//compile 'com.android.support:support-v4:18.0.0'
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.+'
|
||
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.+'
|
||
|
|
}
|