mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-11 20:04:32 +02:00
85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
import com.android.build.gradle.internal.api.BaseVariantOutputImpl
|
|
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.kotlinAndroid)
|
|
id("kotlin-parcelize")
|
|
}
|
|
|
|
android {
|
|
namespace = rootProject.ext["applicationId"].toString() + ".manager"
|
|
compileSdk = 34
|
|
|
|
androidResources {
|
|
noCompress += ".so"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
buildConfig = true
|
|
}
|
|
|
|
defaultConfig {
|
|
buildConfigField("String", "APPLICATION_ID", "\"${rootProject.ext["applicationId"]}\"")
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.2"
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId = rootProject.ext["applicationId"].toString() + ".manager"
|
|
versionCode = 1
|
|
versionName = "1.0.0"
|
|
minSdk = 28
|
|
targetSdk = 34
|
|
multiDexEnabled = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles += file("proguard-rules.pro")
|
|
}
|
|
debug {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
applicationVariants.all {
|
|
outputs.map { it as BaseVariantOutputImpl }.forEach { outputVariant ->
|
|
outputVariant.outputFileName = "manager.apk"
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
all {
|
|
resolutionStrategy {
|
|
exclude(group = "com.google.guava", module = "listenablefuture")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
|
|
implementation(libs.guava)
|
|
implementation(libs.apksig)
|
|
implementation(libs.gson)
|
|
implementation(libs.okhttp)
|
|
implementation(libs.androidx.material3)
|
|
implementation(libs.androidx.activity.ktx)
|
|
implementation(libs.androidx.navigation.compose)
|
|
implementation(libs.androidx.material.icons.core)
|
|
implementation(libs.androidx.material.ripple)
|
|
implementation(libs.androidx.material.icons.extended)
|
|
} |