@@ -37,7 +37,7 @@ allprojects {
3737}
3838
3939
40- val kotlinComposeWasmStdlibTypeInfo : Configuration by configurations.creating {
40+ val kotlinComposeWasmStdlibWasmFile : Configuration by configurations.creating {
4141 isTransitive = false
4242 isCanBeResolved = true
4343 isCanBeConsumed = false
@@ -48,7 +48,7 @@ val kotlinComposeWasmStdlibTypeInfo: Configuration by configurations.creating {
4848 )
4949 attribute(
5050 CacheAttribute .cacheAttribute,
51- CacheAttribute .TYPEINFO
51+ CacheAttribute .WASM
5252 )
5353 }
5454}
@@ -79,7 +79,7 @@ dependencies {
7979 }
8080 testImplementation(libs.kotlinx.coroutines.test)
8181
82- kotlinComposeWasmStdlibTypeInfo (project(" :cache-maker" ))
82+ kotlinComposeWasmStdlibWasmFile (project(" :cache-maker" ))
8383}
8484
8585fun buildPropertyFile () {
@@ -104,7 +104,6 @@ fun generateProperties(prefix: String = "") = """
104104 libraries.folder.compose-wasm=${prefix + libComposeWasm}
105105 libraries.folder.compose-wasm-compiler-plugins=${prefix + libComposeWasmCompilerPlugins}
106106 libraries.folder.compiler-plugins=${prefix + compilerPluginsForJVM}
107- caches.folder.compose-wasm=${prefix + cachesComposeWasm}
108107 spring.mvc.pathmatch.matching-strategy=ant_path_matcher
109108 server.compression.enabled=true
110109 server.compression.mime-types=application/json,text/javascript,application/wasm
@@ -113,9 +112,9 @@ fun generateProperties(prefix: String = "") = """
113112""" .trimIndent()
114113
115114val composeWasmPropertiesUpdater by tasks.registering(ComposeWasmPropertiesUpdater ::class ) {
116- dependsOn(kotlinComposeWasmStdlibTypeInfo )
115+ dependsOn(kotlinComposeWasmStdlibWasmFile )
117116 propertiesPath.set(rootDir.resolve(" src/main/resources/${propertyFile} " ).absolutePath)
118- typeInfoFile .set(kotlinComposeWasmStdlibTypeInfo .singleFile)
117+ hashableFile .set(kotlinComposeWasmStdlibWasmFile .singleFile)
119118}
120119
121120tasks.withType<KotlinCompile > {
@@ -124,7 +123,6 @@ tasks.withType<KotlinCompile> {
124123 }
125124 dependsOn(" :executors:jar" )
126125 dependsOn(" :indexation:run" )
127- dependsOn(kotlinComposeWasmStdlibTypeInfo)
128126 dependsOn(composeWasmPropertiesUpdater)
129127 buildPropertyFile()
130128}
@@ -161,15 +159,13 @@ val buildLambda by tasks.creating(Zip::class) {
161159 from(libJVMFolder) { into(libJVM) }
162160 from(compilerPluginsForJVMFolder) {into(compilerPluginsForJVM)}
163161 from(libComposeWasmCompilerPluginsFolder) { into(libComposeWasmCompilerPlugins) }
164- dependsOn(kotlinComposeWasmStdlibTypeInfo)
165- from(kotlinComposeWasmStdlibTypeInfo) { into(cachesComposeWasm) }
162+ dependsOn(kotlinComposeWasmStdlibWasmFile)
166163 into(" lib" ) {
167164 from(configurations.compileClasspath) { exclude(" tomcat-embed-*" ) }
168165 }
169166}
170167
171168tasks.named<Copy >(" processResources" ) {
172- dependsOn(kotlinComposeWasmStdlibTypeInfo)
173169 dependsOn(composeWasmPropertiesUpdater)
174170}
175171
0 commit comments