33 lines
905 B
Groovy
33 lines
905 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'maven-publish'
|
|
apply from: '../.winboll/winboll_lib_build.gradle'
|
|
apply from: '../.winboll/winboll_lint_build.gradle'
|
|
|
|
android {
|
|
|
|
compileSdkVersion 32
|
|
buildToolsVersion "32.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 26
|
|
targetSdkVersion 29
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
// AndroidX 类库
|
|
api 'androidx.appcompat:appcompat:1.0.0'
|
|
api 'com.google.android.material:material:1.4.0'
|
|
//api 'androidx.viewpager:viewpager:1.0.0'
|
|
//api 'androidx.vectordrawable:vectordrawable:1.1.0'
|
|
//api 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
|
|
//api 'androidx.fragment:fragment:1.1.0'
|
|
}
|