Browse Source

Fix JS Gradle test (#1760)

* Fix Gradle JS tests

* Use Gradle 7.3.3 instead of 7.3 in tests
pull/1636/merge
Alexey Tsvetkov 3 years ago committed by GitHub
parent
commit
4854bf5714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle-plugins/compose/build.gradle.kts
  2. 4
      gradle-plugins/compose/src/test/test-projects/misc/jsMpp/build.gradle
  3. 2
      gradle-plugins/gradle.properties

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

@ -87,7 +87,7 @@ val jar = tasks.named<Jar>("jar") {
// __SUPPORTED_GRADLE_VERSIONS__ // __SUPPORTED_GRADLE_VERSIONS__
testGradleVersion("6.4") testGradleVersion("6.4")
testGradleVersion("7.1.1") testGradleVersion("7.1.1")
testGradleVersion("7.3") testGradleVersion("7.3.3")
val javaHomeForTests: String? = when { val javaHomeForTests: String? = when {
// __COMPOSE_NATIVE_DISTRIBUTIONS_MIN_JAVA_VERSION__ // __COMPOSE_NATIVE_DISTRIBUTIONS_MIN_JAVA_VERSION__

4
gradle-plugins/compose/src/test/test-projects/misc/jsMpp/build.gradle

@ -15,6 +15,10 @@ kotlin {
named("commonMain") { named("commonMain") {
} }
named("jsMain") { named("jsMain") {
dependencies {
implementation(compose.web.core)
implementation(compose.runtime)
}
} }
named("jvmMain") { named("jvmMain") {
dependencies { dependencies {

2
gradle-plugins/gradle.properties

@ -6,7 +6,7 @@ kotlin.code.style=official
# unless overridden by COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION env var. # unless overridden by COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION env var.
# #
# __LATEST_COMPOSE_RELEASE_VERSION__ # __LATEST_COMPOSE_RELEASE_VERSION__
compose.version=0.0.0-mpp-dev553 compose.version=0.0.0-master-dev570
# 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