File tree Expand file tree Collapse file tree 4 files changed +11
-18
lines changed Expand file tree Collapse file tree 4 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ class AppConfig {
1414}
1515
1616plugins {
17- id( " com. android.application" )
18- id( " kotlin- android" )
19- id( " kotlin- kapt" )
20- id( " kotlin- parcelize" )
17+ alias(libs.plugins. android.application)
18+ alias(libs.plugins. kotlin. android)
19+ alias(libs.plugins. kotlin. kapt)
20+ alias(libs.plugins. kotlin. parcelize)
2121}
2222
2323android {
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ plugins {
55 * project. Don't use `apply false` in sub-projects. For more information,
66 * see Applying external plugins with same version to subprojects.
77 */
8- id(" com.android.application" ) version " 8.0.2" apply false
9- id(" org.jetbrains.kotlin.android" ) version " 1.8.20" apply false
8+ alias(libs.plugins.android.application) apply false
9+ alias(libs.plugins.kotlin.android) apply false
10+ alias(libs.plugins.kotlin.kapt) apply false
11+ alias(libs.plugins.kotlin.parcelize) apply false
1012}
11-
Original file line number Diff line number Diff line change @@ -38,3 +38,5 @@ androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
3838[plugins ]
3939android-application = { id = " com.android.application" , version.ref = " androidGradlePlugin" }
4040kotlin-android = { id = " org.jetbrains.kotlin.android" , version.ref = " kotlin" }
41+ kotlin-kapt = { id = " org.jetbrains.kotlin.kapt" , version.ref = " kotlin" }
42+ kotlin-parcelize = { id = " org.jetbrains.kotlin.plugin.parcelize" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change 1- // Include all the existent modules in the project
2- // rootDir
3- // .walk()
4- // .maxDepth(1)
5- // .filter {
6- // it.name != "buildSrc" && it.isDirectory &&
7- // file("${it.absolutePath}/build.gradle.kts").exists()
8- // }
9- // .forEach {
10- // include(":${it.name}")
11- // }
1+ @file:Suppress(" UnstableApiUsage" )
122
133pluginManagement {
144
You can’t perform that action at this time.
0 commit comments