Skip to content

Commit f9c8448

Browse files
committed
fix compose-html build.gradle.kts for tests
1 parent c2243da commit f9c8448

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

html/compose-compiler-integration/main-template/build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
plugins {
22
kotlin("multiplatform")
33
id("org.jetbrains.compose")
4+
id("org.jetbrains.kotlin.plugin.compose")
45
}
56

67
repositories {
7-
mavenLocal()
88
mavenCentral()
99
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
10+
mavenLocal()
1011
}
1112

1213
kotlin {
@@ -22,8 +23,11 @@ kotlin {
2223
implementation(kotlin("stdlib-common"))
2324
implementation(compose.runtime)
2425
implementation(project(":lib"))
25-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0-RC")
26+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
2627
}
2728
}
2829
}
2930
}
31+
32+
tasks.findByName("jsBrowserProductionWebpack")!!.mustRunAfter("jsDevelopmentExecutableCompileSync")
33+
tasks.findByName("jsNodeRun")!!.mustRunAfter("jsProductionExecutableCompileSync")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

html/compose-compiler-integration/main-template/lib/build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
plugins {
22
kotlin("multiplatform")// version "1.5.10"
33
id("org.jetbrains.compose")// version (System.getenv("COMPOSE_INTEGRATION_VERSION") ?: "0.0.0-SNASPHOT")
4+
id("org.jetbrains.kotlin.plugin.compose")
45
}
56

67
repositories {
7-
mavenLocal()
88
mavenCentral()
99
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
10+
mavenLocal()
1011
}
1112

1213
kotlin {
@@ -21,8 +22,12 @@ kotlin {
2122
dependencies {
2223
implementation(kotlin("stdlib-common"))
2324
implementation(compose.runtime)
24-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0-RC")
25+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
2526
}
2627
}
2728
}
2829
}
30+
31+
32+
tasks.findByName("jsBrowserProductionWebpack")!!.mustRunAfter("jsDevelopmentExecutableCompileSync")
33+
tasks.findByName("jsNodeRun")!!.mustRunAfter("jsProductionExecutableCompileSync")

html/compose-compiler-integration/main-template/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
pluginManagement {
22
repositories {
3-
mavenLocal()
43
gradlePluginPortal()
54
maven {
65
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
76
}
7+
mavenLocal()
88
}
99

1010
resolutionStrategy {

0 commit comments

Comments
 (0)