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 this.duplicatesStrategy = DuplicatesStrategy.INCLUDE
} }
// __SUPPORTED_GRADLE_VERSIONS__ project.property("compose.tests.gradle.versions")
//testGradleVersion("6.7.1") // min supported by kotlin 1.7.0 gradle plugin https://kotlinlang.org/docs/gradle.html .toString().split(",")
// despite that, some tests didn't pass .forEach { testGradleVersion(it.trim()) }
testGradleVersion("7.1.1")
testGradleVersion("7.3.3")
val javaHomeForTests: String? = when { val javaHomeForTests: String? = when {
// __COMPOSE_NATIVE_DISTRIBUTIONS_MIN_JAVA_VERSION__ // __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 # https://developer.android.com/jetpack/androidx/releases/compose-kotlin
compose.tests.androidx.compiler.version=1.1.1 compose.tests.androidx.compiler.version=1.1.1
compose.tests.androidx.compiler.compatible.kotlin.version=1.6.10 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, # A version of Gradle plugin, that will be published,
# unless overridden by COMPOSE_GRADLE_PLUGIN_VERSION env var. # unless overridden by COMPOSE_GRADLE_PLUGIN_VERSION env var.

Loading…
Cancel
Save