mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 03:41:19 +08:00
66 lines
1.7 KiB
Kotlin
66 lines
1.7 KiB
Kotlin
import com.android.build.gradle.internal.api.BaseVariantOutputImpl
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
compileSdk = 32
|
|
buildToolsVersion = "32.0.0"
|
|
defaultConfig {
|
|
applicationId = "com.lt2333.simplicitytools"
|
|
minSdk = 31
|
|
targetSdk = 32
|
|
versionCode = 50
|
|
versionName = "1.4.9"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
setProguardFiles(listOf("proguard-rules.pro")
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.majorVersion
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += "/META-INF/**"
|
|
excludes += "/kotlin/**"
|
|
excludes += "/*.txt"
|
|
excludes += "/*.bin"
|
|
}
|
|
dex {
|
|
useLegacyPackaging = true
|
|
}
|
|
}
|
|
applicationVariants.all {
|
|
outputs.all {
|
|
(this as BaseVariantOutputImpl).outputFileName =
|
|
"Simplicity_Tools_Xposed-$versionName-$name.apk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
|
|
//API
|
|
compileOnly("de.robv.android.xposed:api:82")
|
|
//UI
|
|
implementation(project(":blockmiui"))
|
|
|
|
val appCenterSdkVersion = "4.3.1"
|
|
implementation("com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}")
|
|
implementation("com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}")
|
|
|
|
implementation("com.github.kyuubiran:EzXHelper:0.7.4")
|
|
|
|
} |