Skip to content

Commit 03ca5d5

Browse files
committed
[Gradle] Enabled configuration cache
1 parent f41f353 commit 03ca5d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,8 @@ tasks.named<Copy>("processResources") {
165165
tasks.withType<Test> {
166166
dependsOn(rootProject.the<NodeJsRootExtension>().nodeJsSetupTaskProvider)
167167
useJUnitPlatform()
168+
val executablePath = rootProject.the<NodeJsRootExtension>().requireConfigured().executable
168169
doFirst {
169-
this@withType.environment(
170-
"kotlin.wasm.node.path",
171-
rootProject.the<NodeJsRootExtension>().requireConfigured().executable
172-
)
170+
this@withType.environment("kotlin.wasm.node.path", executablePath)
173171
}
174172
}

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ systemProp.indexes=indexes.json
33
systemProp.indexesJs=indexesJs.json
44
systemProp.indexesWasm=indexesWasm.json
55
systemProp.indexesComposeWasm=indexesComposeWasm.json
6+
7+
org.gradle.configuration-cache=true

0 commit comments

Comments
 (0)