cleanup gradle.properties, remove redundant Kotlin Android plugins, and update android.dependency.useConstraints

This commit is contained in:
jonasgaudian
2026-02-16 11:23:50 +01:00
parent 2b8b9a84a3
commit 801b6f6404
4 changed files with 6 additions and 20 deletions

View File

@@ -4,10 +4,10 @@
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2026-02-15T19:51:37.987601800Z">
<DropdownSelection timestamp="2026-02-16T10:13:39.492968600Z">
<Target type="DEFAULT_BOOT">
<handle>
<DeviceId pluginId="LocalEmulator" identifier="path=C:\Users\jonas\.android\avd\Medium_Phone_28.avd" />
<DeviceId pluginId="PhysicalDevice" identifier="serial=RFCW11ML1WV" />
</handle>
</Target>
</DropdownSelection>

View File

@@ -6,7 +6,6 @@ import java.util.Locale
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.hilt.android)
id("kotlin-parcelize")
@@ -62,11 +61,8 @@ android {
"-opt-in=androidx.compose.ui.ExperimentalComposeUiApi"
)
}
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
}
}
buildFeatures {
compose = true
viewBinding = false

View File

@@ -1,9 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.compose) apply false
id("androidx.navigation.safeargs.kotlin") version "2.9.7" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "2.3.10"
id("com.google.devtools.ksp") version "2.3.4" apply false
}
}

View File

@@ -21,13 +21,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.defaults.buildfeatures.resvalues=true
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
android.enableAppCompileTimeRClass=false
android.usesSdkInManifest.disallowed=false
android.uniquePackageNames=false
android.dependency.useConstraints=true
android.r8.strictFullModeForKeepRules=false
android.r8.optimizedResourceShrinking=false
android.builtInKotlin=false
android.newDsl=false
android.dependency.useConstraints=false