mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-18 05:01:04 +08:00
35 lines
776 B
Groovy
35 lines
776 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
version = QMUI_TYPE_VERSION
|
|
|
|
android {
|
|
|
|
compileSdkVersion parent.ext.compileSdkVersion
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion parent.ext.minSdkVersion
|
|
targetSdkVersion parent.ext.targetSdkVersion
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
api "androidx.annotation:annotation:$annotationVersion"
|
|
api "androidx.core:core:$appcompatVersion"
|
|
}
|
|
|
|
// deploy
|
|
File deployConfig = rootProject.file('gradle/deploy.properties')
|
|
if (deployConfig.exists()) {
|
|
apply from: rootProject.file('gradle/deploy.gradle')
|
|
} |