Skip to content

Commit 4d62cde

Browse files
ilgonmicdkrasnoff
authored andcommitted
Microfix #2
1 parent e6666a5 commit 4d62cde

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

cache-maker/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ kotlinComposeWasmStdlibTypeInfo.outgoing.variants.create("typeinfo") {
8686
builtBy(prepareTypeInfoIntoComposeWasmCache)
8787
}
8888
}
89+
90+
// we don't need to build cache-maker
91+
tasks.named("build") {
92+
dependsOn.clear()
93+
}

resource-server/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ val composeWasmPropertiesUpdater by tasks.registering(ComposeWasmPropertiesUpdat
7272
val applicationProperties = applicationPropertiesFile.absolutePath
7373
propertiesPath.set(applicationProperties)
7474

75-
typeInfoFile.set(kotlinComposeWasmStdlibTypeInfo.singleFile)
75+
val composeWasmStdlibTypeInfo: FileCollection = kotlinComposeWasmStdlibTypeInfo
76+
77+
typeInfoFile.fileProvider(
78+
provider {
79+
composeWasmStdlibTypeInfo.singleFile
80+
}
81+
)
7682

7783
if (!applicationPropertiesFile.exists()) {
7884
applicationPropertiesFile.createNewFile()

0 commit comments

Comments
 (0)