Skip to content

Commit daeccce

Browse files
committed
Comment out sorting property
1 parent 13b68b0 commit daeccce

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

shared/build.gradle.kts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -181,18 +181,18 @@ compose.resources {
181181
generateResClass = always
182182
}
183183

184-
tasks.matching { it.name.contains("generateComposeResClass") }.configureEach {
185-
doFirst {
186-
// Force consistent ordering by sorting resource directories
187-
val resourceDirs = project.file("src/commonMain/composeResources")
188-
.listFiles { file -> file.isDirectory && file.name.startsWith("values") }
189-
?.sortedBy { it.name }
190-
191-
// Set system property to ensure consistent processing
192-
System.setProperty("compose.resources.processing.order",
193-
resourceDirs?.joinToString(",") { it.name } ?: "")
194-
}
195-
}
184+
//tasks.matching { it.name.contains("generateComposeResClass") }.configureEach {
185+
// doFirst {
186+
// // Force consistent ordering by sorting resource directories
187+
// val resourceDirs = project.file("src/commonMain/composeResources")
188+
// .listFiles { file -> file.isDirectory && file.name.startsWith("values") }
189+
// ?.sortedBy { it.name }
190+
//
191+
// // Set system property to ensure consistent processing
192+
// System.setProperty("compose.resources.processing.order",
193+
// resourceDirs?.joinToString(",") { it.name } ?: "")
194+
// }
195+
//}
196196

197197
tasks.matching { it.name.contains("generateComposeResClass") }.configureEach {
198198
doFirst {

0 commit comments

Comments
 (0)