Skip to content

Commit 1620c5d

Browse files
committed
Align native build tasks with ComposeDeskKit pattern
1 parent 4a85efe commit 1620c5d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

mediaplayer/build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,12 @@ val buildNativeWindows by tasks.registering(Exec::class) {
197197
commandLine("cmd", "/c", nativeDir.file("build.bat").asFile.absolutePath)
198198
}
199199

200-
tasks.register("buildNativeLibraries") {
201-
group = "build"
202-
description = "Builds all native libraries (macOS + Windows)"
200+
tasks.named("jvmProcessResources") {
203201
dependsOn(buildNativeMacOs, buildNativeWindows)
204202
}
205203

206204
tasks.configureEach {
207-
if (name == "jvmProcessResources" || name == "sourcesJar") {
205+
if (name == "sourcesJar") {
208206
dependsOn(buildNativeMacOs, buildNativeWindows)
209207
}
210208
}

0 commit comments

Comments
 (0)