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:
Ilya Chernikov
2019-08-14 11:35:52 +02:00
parent f74c4fa538
commit 0f41dc814f
29 changed files with 77 additions and 69 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ publish()
noDefaultJar()
runtimeJar(task<ShadowJar>("shadowJar")) {
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
from(mainSourceSet.output)
}
@@ -65,7 +65,7 @@ publish()
noDefaultJar()
runtimeJar(task<ShadowJar>("shadowJar")) {
runtimeJar(tasks.register<ShadowJar>("shadowJar")) {
from(mainSourceSet.output)
}