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:
@@ -25,7 +25,7 @@ dependencies {
|
||||
baseProtobufSources("com.google.protobuf:protobuf-java:$protobufVersion:sources")
|
||||
}
|
||||
|
||||
val prepare = task<ShadowJar>("prepare") {
|
||||
val prepare = tasks.register<ShadowJar>("prepare") {
|
||||
destinationDir = File(outputJarsPath)
|
||||
version = protobufVersion
|
||||
classifier = ""
|
||||
|
||||
Reference in New Issue
Block a user