Browse Source

Update tested Gradle versions

gradle-tests-additional-fixes
Alexey Tsvetkov 2 years ago
parent
commit
4479b79a8b
  1. 8
      gradle-plugins/compose/build.gradle.kts
  2. 2
      gradle-plugins/gradle.properties

8
gradle-plugins/compose/build.gradle.kts

@ -89,11 +89,9 @@ val jar = tasks.named<Jar>("jar") {
this.duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
// __SUPPORTED_GRADLE_VERSIONS__
//testGradleVersion("6.7.1") // min supported by kotlin 1.7.0 gradle plugin https://kotlinlang.org/docs/gradle.html
// despite that, some tests didn't pass
testGradleVersion("7.1.1")
testGradleVersion("7.3.3")
project.property("compose.tests.gradle.versions")
.toString().split(",")
.forEach { testGradleVersion(it.trim()) }
val javaHomeForTests: String? = when {
// __COMPOSE_NATIVE_DISTRIBUTIONS_MIN_JAVA_VERSION__

2
gradle-plugins/gradle.properties

@ -14,6 +14,8 @@ compose.tests.js.compiler.compatible.kotlin.version=1.7.20
# https://developer.android.com/jetpack/androidx/releases/compose-kotlin
compose.tests.androidx.compiler.version=1.1.1
compose.tests.androidx.compiler.compatible.kotlin.version=1.6.10
# __SUPPORTED_GRADLE_VERSIONS__
compose.tests.gradle.versions=7.0.2, 7.5.1
# A version of Gradle plugin, that will be published,
# unless overridden by COMPOSE_GRADLE_PLUGIN_VERSION env var.

Loading…
Cancel
Save