Ryan Smith
01/18/2023, 12:45 AMpackageReleaseDistributionForCurrentOs
graph before? I'm trying to bundle an adb
executable with my compose application, but cannot seem to locate any of the tasks from the compose plugin using tasks.named
, tasks.findByPath
, or plainly tasks[]
. I keep getting "Task with name <name> not found in root project <project-name>"
Ryan Smith
01/18/2023, 12:47 AMcompose/tmp/main/runtime/bin
before the actual packageReleaseMsi
task is run. I'm attempting to do
tasks.named("packageReleaseMsi") {
dependsOn(bundleAdb)
}
where bundleAdb
is a Copy
task created with the tasks.registering
delegate.Ryan Smith
01/18/2023, 2:07 AMtasks.withType<AbstractJPackageTask> {
dependsOn(bundleAdb)
}
I suppose this is preferable, actually, since it should cover any of packageRelease*
tasksRyan Smith
01/18/2023, 2:08 AMtasks.named
is still curious nonetheless.Sebastian Kürten
01/20/2023, 9:55 AMafterEvaluate {}
block?Ryan Smith
01/29/2023, 7:03 PM