mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Refresh activate status when ownership transferred to OwnDroid Set Start user session message and End user session message separately Set Long support message and Short support message separately Simplify code
89 lines
2.6 KiB
Kotlin
89 lines
2.6 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.compose)
|
|
kotlin("plugin.serialization") version "2.0.0"
|
|
}
|
|
|
|
android {
|
|
signingConfigs {
|
|
create("defaultSignature") {
|
|
storeFile = file(project.findProperty("StoreFile") ?: "testkey.jks")
|
|
storePassword = (project.findProperty("StorePassword") as String?) ?: "testkey"
|
|
keyPassword = (project.findProperty("KeyPassword") as String?) ?: "testkey"
|
|
keyAlias = (project.findProperty("KeyAlias") as String?) ?: "testkey"
|
|
}
|
|
}
|
|
namespace = "com.bintianqi.owndroid"
|
|
compileSdk = 34
|
|
|
|
lint.checkReleaseBuilds = false
|
|
lint.disable += "All"
|
|
|
|
defaultConfig {
|
|
applicationId = "com.bintianqi.owndroid"
|
|
minSdk = 21
|
|
targetSdk = 34
|
|
versionCode = 32
|
|
versionName = "6.0"
|
|
multiDexEnabled = false
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
signingConfig = signingConfigs.getByName("defaultSignature")
|
|
}
|
|
debug {
|
|
signingConfig = signingConfigs.getByName("defaultSignature")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_20
|
|
targetCompatibility = JavaVersion.VERSION_20
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "20"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
aidl = true
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
excludes += "/META-INF/**.version"
|
|
excludes += "kotlin/**"
|
|
excludes += "**.bin"
|
|
excludes += "kotlin-tooling-metadata.json"
|
|
}
|
|
}
|
|
androidResources {
|
|
generateLocaleConfig = true
|
|
}
|
|
}
|
|
|
|
gradle.taskGraph.whenReady {
|
|
project.tasks.findByPath(":app:test")?.enabled = false
|
|
project.tasks.findByPath(":app:lint")?.enabled = false
|
|
project.tasks.findByPath(":app:lintAnalyzeDebug")?.enabled = false
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.accompanist.drawablepainter)
|
|
implementation(libs.androidx.material3)
|
|
implementation(libs.androidx.navigation.compose)
|
|
implementation(libs.shizuku.provider)
|
|
implementation(libs.shizuku.api)
|
|
implementation(libs.dhizuku.api)
|
|
implementation(libs.androidx.biometric)
|
|
implementation(libs.androidx.fragment)
|
|
implementation(libs.hiddenApiBypass)
|
|
implementation(libs.serialization)
|
|
} |