Skip to content

Commit

Permalink
Test Gradle plugin with Gradle 7.0
Browse files Browse the repository at this point in the history
`withJava()` is removed from MPP test, because our tests don't contain Java,
 but the latest stable version of Kotlin fails with exceptions,
 when Gradle 7.0 is used. The issue is fixed in Kotlin's master:
 JetBrains/kotlin@297aa17
  • Loading branch information
AlexeyTsvetkov committed Mar 22, 2021
1 parent 4e67323 commit b00aa7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions gradle-plugins/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ val jar = tasks.named<Jar>("jar") {
// __SUPPORTED_GRADLE_VERSIONS__
testGradleVersion("6.4")
testGradleVersion("6.8.3")
testGradleVersion("7.0-milestone-3")

val javaHomeForTests: String? = when {
// __COMPOSE_NATIVE_DISTRIBUTIONS_MIN_JAVA_VERSION__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ repositories {

kotlin {
jvm {
withJava()
}
sourceSets {
named("jvmMain") {
Expand Down

0 comments on commit b00aa7d

Please sign in to comment.