Files
TTUtils/viewlibrary/build.gradle
2021-09-30 18:27:13 +08:00

64 lines
1.2 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 {
zhanRuiRelease {
}
zhanRuiDebug {
}
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'
}