File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ object libs {
1313 const val androidXTestCore = " 1.6.1"
1414 const val androidXTestMonitor = " 1.7.2"
1515 const val androidXTestRunner = " 1.6.2"
16- const val composeCompiler = " 1.5.15"
1716
1817 const val activityCompose = " 1.10.1"
1918 const val apiGuardian = " 1.1.2"
@@ -33,6 +32,7 @@ object libs {
3332
3433 object plugins {
3534 fun android (version : SupportedAgp ) = " com.android.tools.build:gradle:${version.version} "
35+ const val composeCompiler = " org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.compose.gradle.plugin:${versions.kotlin} "
3636 const val kotlin = " org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin} "
3737 const val shadow = " com.github.johnrengelman:shadow:${libs.versions.shadow} "
3838 const val dokka = " org.jetbrains.dokka:dokka-gradle-plugin:${libs.versions.dokka} "
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
77 dependencies {
88 classpath(libs.plugins.kotlin)
99 classpath(libs.plugins.dokka)
10+ classpath(libs.plugins.composeCompiler)
1011 classpath(libs.plugins.android(SupportedAgp .newestStable))
1112 }
1213}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ plugins {
66 kotlin(" android" )
77 id(" explicit-api-mode" )
88 id(" de.mannodermaus.android-junit5" ).version(Artifacts .Plugin .latestStableVersion)
9+ id(" org.jetbrains.kotlin.plugin.compose" )
910}
1011
1112val javaVersion = JavaVersion .VERSION_11
@@ -36,10 +37,6 @@ android {
3637 jvmTarget = javaVersion.toString()
3738 }
3839
39- composeOptions {
40- kotlinCompilerExtensionVersion = libs.versions.composeCompiler
41- }
42-
4340 testOptions {
4441 unitTests.isReturnDefaultValues = true
4542 targetSdk = Android .targetSdkVersion
You can’t perform that action at this time.
0 commit comments