66 lines
1.8 KiB
Kotlin
66 lines
1.8 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
kotlin("plugin.serialization") version "2.1.10"
|
|
}
|
|
|
|
android {
|
|
namespace = "ShiggyXposed.xposed"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
applicationId = "ShiggyXposed.xposed"
|
|
minSdk = 24
|
|
targetSdk = 36
|
|
versionCode = 1330
|
|
versionName = "1.3.3"
|
|
}
|
|
|
|
signingConfigs {
|
|
create("release") {
|
|
storeFile = file("../release.keystore")
|
|
storePassword = "shiggyxposed"
|
|
keyAlias = "shiggyxposed"
|
|
keyPassword = "shiggyxposed"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
isDebuggable = true
|
|
isMinifyEnabled = false
|
|
applicationIdSuffix = ".debug"
|
|
}
|
|
release {
|
|
isDebuggable = false
|
|
isMinifyEnabled = false
|
|
signingConfig = signingConfigs.getByName("release")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
}
|
|
|
|
tasks.withType<org.gradle.api.tasks.compile.JavaCompile>().configureEach {
|
|
options.compilerArgs.add("-Xlint:-options")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("de.robv.android.xposed:api:82")
|
|
|
|
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")
|
|
implementation("dev.rushii:libunbound:1.0.0")
|
|
}
|