Skip to content

Commit

Permalink
Downgrade Kotlin to 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-yuan committed Jul 21, 2023
1 parent 7a4c9ac commit e5588fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copied from kotlinc
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8

kotlinBaseVersion=1.9.20-dev-4459
kotlinBaseVersion=1.9.0
agpBaseVersion=7.0.0
intellijVersion=213.7172.25
junitVersion=4.13.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ class PlaygroundIT {
val gradleRunner = GradleRunner.create().withProjectDir(project.root).withGradleVersion("8.0")
gradleRunner.withArguments("clean", "build").buildAndFail().let { result ->
Assert.assertTrue(
result.output.contains("Inconsistent JVM-target compatibility detected for tasks")
result.output.contains(
"'compileJava' task (current target is 11) and 'kspKotlin' " +
"task (current target is 17) jvm target compatibility should be set to the same Java version."
)
)
}
project.restore(buildFile.path)
Expand Down

0 comments on commit e5588fd

Please sign in to comment.