GoonXposed/app/build.gradle.kts

74 lines
2 KiB
Text
Raw Normal View History

2023-05-05 21:54:47 +01:00
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
2026-09-04 06:25:39 +02:00
kotlin("plugin.serialization") version "2.1.10"
2023-05-05 21:54:47 +01:00
}
android {
2026-08-17 08:35:12 +02:00
namespace = "GoonXposed.xposed"
compileSdk = 36
2023-05-05 21:54:47 +01:00
defaultConfig {
2026-08-17 08:35:12 +02:00
applicationId = "GoonXposed.xposed"
2025-11-07 22:19:26 +01:00
minSdk = 24
targetSdk = 36
2026-09-03 15:36:30 +02:00
versionCode = 1358
versionName = "1.3.8"
2023-05-05 21:54:47 +01:00
}
signingConfigs {
create("release") {
val keystoreFile = file("../release.keystore")
if (keystoreFile.exists()) {
storeFile = keystoreFile
storePassword = "goonxposed"
keyAlias = "goonxposed"
keyPassword = "goonxposed"
}
}
}
2023-05-05 21:54:47 +01:00
buildTypes {
debug {
isDebuggable = true
isMinifyEnabled = false
2025-04-30 20:05:40 +01:00
applicationIdSuffix = ".debug"
2023-05-05 21:54:47 +01:00
}
release {
isDebuggable = false
2026-09-09 21:16:48 +02:00
isMinifyEnabled = true
val keystoreFile = file("../release.keystore")
if (keystoreFile.exists()) {
signingConfig = signingConfigs.getByName("release")
}
2023-05-05 21:54:47 +01:00
}
}
compileOptions {
2025-11-07 22:19:26 +01:00
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
buildConfig = true
2024-04-30 13:42:18 +08:00
}
2025-05-31 15:48:49 +03:00
}
2026-01-02 15:16:18 +01:00
tasks.withType<org.gradle.api.tasks.compile.JavaCompile>().configureEach {
options.compilerArgs.add("-Xlint:-options")
}
2023-05-05 21:54:47 +01:00
dependencies {
compileOnly("de.robv.android.xposed:api:82")
2025-11-07 22:19:26 +01:00
implementation("androidx.core:core-ktx:1.17.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2")
implementation("io.ktor:ktor-client-core:3.3.1")
implementation("io.ktor:ktor-client-cio:3.3.1")
implementation("com.google.android.material:material:1.12.0")
2026-09-10 08:05:34 +02:00
implementation("dev.rikka.shizuku:api:13.1.5")
implementation("dev.rikka.shizuku:provider:13.1.5")
2024-05-02 15:16:40 +08:00
}