Refactor: Move versioning to build files, update dependencies
This commit moves the `minSdk`, `targetSdk`, `compileSdk`, `versionCode`, and `versionName` definitions from `gradle/libs.versions.toml` directly into the relevant build files (`app/build.gradle.kts` and convention plugins). Additionally, the following dependencies were updated: - Gradle wrapper from 8.12 to 8.14.2 - KSP from 2.1.21-2.0.2 to 2.2.0-2.0.2 - ModuleGraph from 2.8.0 to 2.9.0 The `fast-android-test` and `fast-jvm-library` plugin aliases were also commented out in `gradle/libs.versions.toml`.
This commit is contained in:
@@ -15,7 +15,7 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
|
||||
|
||||
extensions.configure<ApplicationExtension> {
|
||||
configureKotlinAndroid(this)
|
||||
defaultConfig.targetSdk = libs.findVersion("targetSdk").get().toString().toInt()
|
||||
defaultConfig.targetSdk = 35
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user