Skip to content

Commit 2f53ec2

Browse files
committedMar 1, 2022
Bumped to 1.6.20-RC
1 parent bb2d203 commit 2f53ec2

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed
 

‎app/build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ android {
3636
compose true
3737
}
3838
composeOptions {
39-
kotlinCompilerExtensionVersion "1.2.0-dev-k1.6.20-M1-5b767693182"
39+
kotlinCompilerExtensionVersion "1.2.0-dev-k1.6.20-RC-01cb55170f9"
4040
}
4141
packagingOptions {
4242
resources {
@@ -58,4 +58,15 @@ dependencies {
5858
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
5959
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
6060
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+
}

‎build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,19 @@ buildscript {
66
plugins {
77
id 'com.android.application' version '7.1.1' apply false
88
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
1010
}
1111

1212
task clean(type: Delete) {
1313
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+
}
1424
}

‎settings.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ pluginManagement {
33
gradlePluginPortal()
44
google()
55
mavenCentral()
6+
maven {
7+
url "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/"
8+
}
69
}
710
}
811
dependencyResolutionManagement {
@@ -13,6 +16,9 @@ dependencyResolutionManagement {
1316
maven {
1417
url "https://androidx.dev/storage/compose-compiler/repository/"
1518
}
19+
maven {
20+
url "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/"
21+
}
1622
}
1723
}
1824
rootProject.name = "ComposeAppUsingPrereleaseComposeCompiler"

0 commit comments

Comments
 (0)
Please sign in to comment.