mirror of
https://github.com/apple/pkl.git
synced 2026-07-16 18:11:22 +02:00
Migrate Gradle deprecations (#1745)
This commit is contained in:
+4
-3
@@ -37,7 +37,8 @@ nexusPublishing {
|
||||
}
|
||||
}
|
||||
|
||||
val configureLateInitAnnotation by tasks.registering(ConfigureLateInitAnnotation::class)
|
||||
val configureLateInitAnnotation =
|
||||
tasks.register<ConfigureLateInitAnnotation>("configureLateInitAnnotation")
|
||||
|
||||
idea {
|
||||
project {
|
||||
@@ -53,9 +54,9 @@ idea {
|
||||
}
|
||||
}
|
||||
|
||||
val clean by tasks.existing { delete(layout.buildDirectory) }
|
||||
val clean = tasks.named("clean") { delete(layout.buildDirectory) }
|
||||
|
||||
val printVersion by tasks.registering { doFirst { println(buildInfo.pklVersion) } }
|
||||
val printVersion = tasks.register("printVersion") { doFirst { println(buildInfo.pklVersion) } }
|
||||
|
||||
val message =
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user