Skip to content

Commit

Permalink
Merge pull request #6924 from thc202/build/address-deprecations
Browse files Browse the repository at this point in the history
Address build deprecations
  • Loading branch information
psiinon committed Nov 15, 2021
2 parents ffe26d7 + c89aa41 commit 95309bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zap/zap.gradle.kts
Expand Up @@ -51,7 +51,7 @@ crowdin {

tasks.named<JacocoReport>("jacocoTestReport") {
reports {
xml.isEnabled = true
xml.required.set(true)
}
}

Expand Down Expand Up @@ -121,7 +121,7 @@ tasks.register<JavaExec>("run") {
group = ApplicationPlugin.APPLICATION_GROUP
description = "Runs ZAP from source, using the default dev home."

main = "org.zaproxy.zap.ZAP"
mainClass.set("org.zaproxy.zap.ZAP")
classpath = sourceSets["main"].runtimeClasspath
workingDir = distDir
}
Expand Down Expand Up @@ -246,7 +246,7 @@ listOf(
group = "ZAP Misc"
description = "Generates (and copies) the ZAP API endpoints for $langName."

main = it
mainClass.set(it)
classpath = sourceSets["main"].runtimeClasspath
workingDir = file("$rootDir")
}
Expand Down

0 comments on commit 95309bb

Please sign in to comment.