mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 11:05:59 +00:00
82 lines
2.2 KiB
Kotlin
82 lines
2.2 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
signingConfigs {
|
|
create("testkey") {
|
|
storeFile = file("testkey.jks")
|
|
storePassword = "testkey"
|
|
keyPassword = "testkey"
|
|
keyAlias = "testkey"
|
|
}
|
|
}
|
|
namespace = "com.bintianqi.owndroid"
|
|
compileSdk = 34
|
|
|
|
lint.checkReleaseBuilds = false
|
|
|
|
defaultConfig {
|
|
applicationId = "com.bintianqi.owndroid"
|
|
minSdk = 21
|
|
targetSdk = 34
|
|
versionCode = 27
|
|
versionName = "5.2"
|
|
multiDexEnabled = false
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
//project.gradle.startParameter.excludedTaskNames.add("lint")
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
signingConfig = signingConfigs.getByName("testkey")
|
|
}
|
|
debug {
|
|
signingConfig = signingConfigs.getByName("testkey")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_20
|
|
targetCompatibility = JavaVersion.VERSION_20
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "20"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
aidl = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.13"
|
|
}
|
|
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
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.androidx.ui)
|
|
implementation(libs.androidx.ui.graphics)
|
|
implementation(libs.accompanist.drawablepainter)
|
|
implementation(libs.androidx.material3)
|
|
implementation(libs.androidx.navigation.compose)
|
|
implementation(libs.shizuku.provider)
|
|
implementation(libs.shizuku.api)
|
|
implementation(libs.androidx.biometric)
|
|
} |