I want to copy a specific jar from the staging
tasks.getByName("assemble") << {
// I want to copy the staging/libs output jar to another location
}
Now I know i can just put in copy code there like
new File("/destdir/blah.jar").bytes << new File("$projectDir/staging/lib/myjar.jar")
But this doesn’t seem to be the “gradle” way…
thoughts?