mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-18 21:21:01 +08:00
41 lines
935 B
Groovy
41 lines
935 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
version = QMUI_ARCH_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.appcompat:appcompat:$appcompatVersion"
|
|
api "androidx.fragment:fragment:1.3.0-alpha03"
|
|
|
|
api project(':arch-annotation')
|
|
compileOnly project(':qmui')
|
|
testImplementation "junit:junit:$junitVersion"
|
|
lintChecks project(':lintrule')
|
|
}
|
|
|
|
// deploy
|
|
File deployConfig = rootProject.file('gradle/deploy.properties')
|
|
if (deployConfig.exists()) {
|
|
apply from: rootProject.file('gradle/deploy.gradle')
|
|
}
|