You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
52 lines
1.2 KiB
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
applicationId "cn.coderstory.miui.water"
|
|
minSdkVersion 28
|
|
targetSdkVersion 33
|
|
versionCode 15
|
|
versionName "1.7.6"
|
|
}
|
|
packagingOptions {
|
|
jniLibs {
|
|
excludes += ['META-INF/**']
|
|
}
|
|
resources {
|
|
excludes += ['META-INF/**']
|
|
}
|
|
}
|
|
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
namespace 'cn.coderstory.miui.water'
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
|
compileOnly 'de.robv.android.xposed:api:82'
|
|
implementation "com.github.topjohnwu.libsu:core:3.1.2"
|
|
} |