mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-03-14 16:42:51 +08:00
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
import com.android.build.gradle.internal.api.BaseVariantOutputImpl
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
compileSdk = 33
|
|
defaultConfig {
|
|
applicationId = "com.lt2333.simplicitytools"
|
|
minSdk = 31
|
|
targetSdk = 33
|
|
versionCode = 70
|
|
versionName = "1.7.0"
|
|
buildConfigField("String", "BUILD_TIME", "\"${System.currentTimeMillis()}\"")
|
|
}
|
|
|
|
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 = "WooBoxForMIUI-$versionName-$name.apk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//API
|
|
compileOnly("de.robv.android.xposed:api:82")
|
|
implementation("com.github.kyuubiran:EzXHelper:1.0.3")
|
|
//UI
|
|
implementation(project(":blockmiui"))
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
|
|
//APP Center
|
|
val appCenterSdkVersion = "4.4.3"
|
|
implementation("com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}")
|
|
implementation("com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}")
|
|
implementation("androidx.core:core-splashscreen:1.0.0-rc01")
|
|
} |