2023-05-05 21:54:47 +01:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
id("org.jetbrains.kotlin.android")
|
2025-02-27 20:15:58 +08:00
|
|
|
kotlin("plugin.serialization") version "2.1.10"
|
2023-05-05 21:54:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2026-09-25 19:21:17 +02:00
|
|
|
namespace = "GoonXposed.xposed"
|
2025-04-30 17:45:57 +01:00
|
|
|
compileSdk = 36
|
2023-05-05 21:54:47 +01:00
|
|
|
|
|
|
|
|
defaultConfig {
|
2026-09-25 19:21:17 +02:00
|
|
|
applicationId = "GoonXposed.xposed"
|
2025-11-07 22:19:26 +01:00
|
|
|
minSdk = 24
|
2025-04-30 17:45:57 +01:00
|
|
|
targetSdk = 36
|
2026-09-25 19:21:17 +02:00
|
|
|
versionCode = 1358
|
|
|
|
|
versionName = "1.3.8"
|
2023-05-05 21:54:47 +01:00
|
|
|
}
|
|
|
|
|
|
2026-05-15 22:05:42 +02:00
|
|
|
signingConfigs {
|
|
|
|
|
create("release") {
|
2026-09-25 19:21:17 +02:00
|
|
|
val keystoreFile = file("../release.keystore")
|
|
|
|
|
if (keystoreFile.exists()) {
|
|
|
|
|
storeFile = keystoreFile
|
|
|
|
|
storePassword = "goonxposed"
|
|
|
|
|
keyAlias = "goonxposed"
|
|
|
|
|
keyPassword = "goonxposed"
|
|
|
|
|
}
|
2026-05-15 22:05:42 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
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-25 16:42:11 +02:00
|
|
|
isMinifyEnabled = false
|
2026-09-25 19:21:17 +02:00
|
|
|
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-02-27 20:15:58 +08:00
|
|
|
|
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")
|
2025-11-10 20:26:38 +01:00
|
|
|
implementation("com.google.android.material:material:1.12.0")
|
2026-01-11 16:34:38 +02:00
|
|
|
implementation("dev.rushii:libunbound:1.0.0")
|
2024-05-02 15:16:40 +08:00
|
|
|
}
|