Switch many common tasks defined in buildSrc to lazy creation
also refactor some locally defined tasks to the creation avoidance API
This commit is contained in:
@@ -29,7 +29,7 @@ publish()
|
||||
noDefaultJar()
|
||||
|
||||
runtimeJar(rewriteDepsToShadedCompiler(
|
||||
task<ShadowJar>("shadowJar") {
|
||||
tasks.register<ShadowJar>("shadowJar") {
|
||||
from(packedJars)
|
||||
}
|
||||
))
|
||||
|
||||
@@ -23,7 +23,6 @@ publish()
|
||||
|
||||
noDefaultJar()
|
||||
|
||||
val jar = tasks.getByName<Jar>("jar")
|
||||
runtimeJar(rewriteDepsToShadedCompiler(jar))
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
Reference in New Issue
Block a user