stepango
10/05/2019, 5:12 AMexec {
// very long operation to get this jar file from somewhere
}
configurations.maybeCreate("default")
artifacts.add("default", file("${libName}.jar"))
But what if I want to do this in execution stage? First problem I faced is I can’t add artifacts lazily and second one is - there is no tasks executed in project (2) by default.
I bit more context is here https://github.com/stepango/bali/blob/master/bazel_wrapper/build.gradle
Any suggestions are welcome.Sam Garfinkel
10/05/2019, 2:23 PMstepango
10/06/2019, 3:32 AMno
10/06/2019, 8:34 PMstepango
10/12/2019, 1:31 AMhow?
this is the real question here