60 lines
1.4 KiB
Groovy
60 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.3"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
productFlavors {
|
|
official {
|
|
flavorDimensions "default"
|
|
}
|
|
|
|
beta {
|
|
flavorDimensions "default"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
tuiXinDebug {}
|
|
teclastUnisocdebug{}
|
|
teclastUnisocrelease{}
|
|
teclastMTKDebug{}
|
|
teclastMTKRelease{}
|
|
G10PDebug{}
|
|
G10PRelease{}
|
|
G10PUserDebug{}
|
|
Teclast8515Debug {}
|
|
Teclast8515Release {}
|
|
TeclastP20SDebug {}
|
|
TeclastP20SRelease {}
|
|
zhanRuiDebug {}
|
|
zhanRuiRelease {}
|
|
zhanRuiUserdebug {}
|
|
debug {}
|
|
release {}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
implementation 'com.facebook.rebound:rebound:0.3.6'
|
|
// implementation 'com.zcw:togglebutton-library:1.0.0'
|
|
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
|
|
}
|