File tree 3 files changed +30
-3
lines changed
3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ android {
36
36
compose true
37
37
}
38
38
composeOptions {
39
- kotlinCompilerExtensionVersion " 1.2.0-dev-k1.6.20-M1-5b767693182 "
39
+ kotlinCompilerExtensionVersion " 1.2.0-dev-k1.6.20-RC-01cb55170f9 "
40
40
}
41
41
packagingOptions {
42
42
resources {
@@ -58,4 +58,15 @@ dependencies {
58
58
androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0'
59
59
androidTestImplementation " androidx.compose.ui:ui-test-junit4:$compose_version "
60
60
debugImplementation " androidx.compose.ui:ui-tooling:$compose_version "
61
- }
61
+ }
62
+
63
+
64
+ tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
65
+ kotlinOptions {
66
+ jvmTarget = " 1.8"
67
+ freeCompilerArgs + = [
68
+ " -P" ,
69
+ " plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
70
+ ]
71
+ }
72
+ }
Original file line number Diff line number Diff line change @@ -6,9 +6,19 @@ buildscript {
6
6
plugins {
7
7
id ' com.android.application' version ' 7.1.1' apply false
8
8
id ' com.android.library' version ' 7.1.1' apply false
9
- id ' org.jetbrains.kotlin.android' version ' 1.6.20-M1 ' apply false
9
+ id ' org.jetbrains.kotlin.android' version ' 1.6.20-RC ' apply false
10
10
}
11
11
12
12
task clean (type : Delete ) {
13
13
delete rootProject. buildDir
14
+ }
15
+
16
+ tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
17
+ kotlinOptions {
18
+ jvmTarget = " 1.8"
19
+ freeCompilerArgs + = [
20
+ " -P" ,
21
+ " plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
22
+ ]
23
+ }
14
24
}
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ pluginManagement {
3
3
gradlePluginPortal()
4
4
google()
5
5
mavenCentral()
6
+ maven {
7
+ url " https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/"
8
+ }
6
9
}
7
10
}
8
11
dependencyResolutionManagement {
@@ -13,6 +16,9 @@ dependencyResolutionManagement {
13
16
maven {
14
17
url " https://androidx.dev/storage/compose-compiler/repository/"
15
18
}
19
+ maven {
20
+ url " https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/"
21
+ }
16
22
}
17
23
}
18
24
rootProject. name = " ComposeAppUsingPrereleaseComposeCompiler"
You can’t perform that action at this time.
0 commit comments