William Reed
02/17/2022, 7:48 PMmaxosX64
target project on my apple silicon mac, and everything with the build goes fine, but the run
task keeps getting skipped.
> Task :app:compileKotlinMacosX64 UP-TO-DATE
> Task :app:linkDebugExecutableMacosX64 UP-TO-DATE
> Task :app:runDebugExecutableMacosX64 SKIPPED
any ideas? I've tried on multiple projects and running a clean build. kotlin 1.6.10
running with ./gradlew runDebugExecutableMacosX64
rnett
02/17/2022, 8:38 PMmacosArm64
?Landry Norris
02/17/2022, 8:45 PMLandry Norris
02/17/2022, 8:46 PMWilliam Reed
02/17/2022, 9:12 PMmacosArm64
but a multiplatform library i am depending on doesn't seem to support that yet (issue already open)William Reed
02/17/2022, 9:14 PM-x
exclude a task?Landry Norris
02/17/2022, 9:16 PMWilliam Reed
02/17/2022, 9:16 PMWilliam Reed
02/17/2022, 9:16 PMWilliam Reed
02/17/2022, 9:18 PMLandry Norris
02/17/2022, 9:20 PMWilliam Reed
02/17/2022, 9:20 PMWilliam Reed
02/17/2022, 9:21 PMSkipping task ':runDebugExecutableMacosX64' as task onlyIf is false.
not sure where the source code for that would be, but probably like you guys said with a platform checkLandry Norris
02/17/2022, 9:22 PMrusshwolf
02/17/2022, 9:54 PMtasks["runDebugExecutableMacosX64"].setOnlyIf { true }
William Reed
02/17/2022, 9:59 PMrusshwolf
02/17/2022, 10:02 PMsetOnlyIf {}
and not onlyIf {}
because the first (in theory) should replace existing filters while the second appendsrusshwolf
02/17/2022, 10:02 PMrusshwolf
02/17/2022, 10:03 PMWilliam Reed
02/17/2022, 10:03 PMbuild.gradle
russhwolf
02/17/2022, 10:03 PMSkipping task ':runDebugExecutableMacosX64' as task onlyIf is false.
?William Reed
02/17/2022, 10:03 PMrusshwolf
02/17/2022, 10:04 PMWilliam Reed
02/17/2022, 10:04 PMrusshwolf
02/17/2022, 10:04 PMArtyom Degtyarev [JB]
02/18/2022, 8:38 AM/build/bin/macosX64/debugExecutable/...
William Reed
02/18/2022, 2:21 PMArtyom Degtyarev [JB]
02/18/2022, 2:24 PMWilliam Reed
02/18/2022, 2:25 PM