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 {
13
13
const val androidXTestCore = " 1.6.1"
14
14
const val androidXTestMonitor = " 1.7.2"
15
15
const val androidXTestRunner = " 1.6.2"
16
- const val composeCompiler = " 1.5.15"
17
16
18
17
const val activityCompose = " 1.10.1"
19
18
const val apiGuardian = " 1.1.2"
@@ -33,6 +32,7 @@ object libs {
33
32
34
33
object plugins {
35
34
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} "
36
36
const val kotlin = " org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin} "
37
37
const val shadow = " com.github.johnrengelman:shadow:${libs.versions.shadow} "
38
38
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 {
7
7
dependencies {
8
8
classpath(libs.plugins.kotlin)
9
9
classpath(libs.plugins.dokka)
10
+ classpath(libs.plugins.composeCompiler)
10
11
classpath(libs.plugins.android(SupportedAgp .newestStable))
11
12
}
12
13
}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ plugins {
6
6
kotlin(" android" )
7
7
id(" explicit-api-mode" )
8
8
id(" de.mannodermaus.android-junit5" ).version(Artifacts .Plugin .latestStableVersion)
9
+ id(" org.jetbrains.kotlin.plugin.compose" )
9
10
}
10
11
11
12
val javaVersion = JavaVersion .VERSION_11
@@ -36,10 +37,6 @@ android {
36
37
jvmTarget = javaVersion.toString()
37
38
}
38
39
39
- composeOptions {
40
- kotlinCompilerExtensionVersion = libs.versions.composeCompiler
41
- }
42
-
43
40
testOptions {
44
41
unitTests.isReturnDefaultValues = true
45
42
targetSdk = Android .targetSdkVersion
You can’t perform that action at this time.
0 commit comments