mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-18 13:11:05 +08:00
37 lines
877 B
Groovy
37 lines
877 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
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-ktx:$appcompatVersion"
|
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|
|
|
|
// deploy
|
|
File deployConfig = rootProject.file('gradle/deploy.properties')
|
|
if (deployConfig.exists()) {
|
|
apply from: rootProject.file('gradle/deploy.gradle')
|
|
} |