-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Gradle to 8.5 and ZAP to 2.14
Update Gradle Wrapper to 8.5 and ZAP to latest version. Apply the common plugins and remove now redundant configurations. Update GitHub Actions in workflows. Apply Spotless changes to the `Messages.properties` file. Signed-off-by: thc202 <[email protected]>
- Loading branch information
Showing
13 changed files
with
31 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,10 @@ import org.zaproxy.gradle.addon.misc.ConvertMarkdownToHtml | |
|
||
plugins { | ||
`java-library` | ||
id("org.zaproxy.add-on") version "0.9.0" | ||
id("org.zaproxy.add-on") version "0.10.0" | ||
id("org.zaproxy.crowdin") version "0.3.1" | ||
id("com.diffplug.spotless") version "6.20.0" | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
id("com.diffplug.spotless") | ||
id("org.zaproxy.common") | ||
} | ||
|
||
description = "Useful ZAP scripts written by the ZAP community." | ||
|
@@ -23,7 +20,7 @@ val scriptsDir = layout.buildDirectory.dir("scripts") | |
zapAddOn { | ||
addOnId.set("communityScripts") | ||
addOnName.set("Community Scripts") | ||
zapVersion.set("2.13.0") | ||
zapVersion.set("2.14.0") | ||
addOnStatus.set(AddOnStatus.ALPHA) | ||
|
||
releaseLink.set("https://github.com/zaproxy/community-scripts/compare/v@[email protected]@CURRENT_VERSION@") | ||
|
@@ -64,11 +61,6 @@ dependencies { | |
testImplementation("org.python:jython-standalone:2.7.2") | ||
} | ||
|
||
tasks.withType<JavaCompile>().configureEach { | ||
options.encoding = "UTF-8" | ||
options.compilerArgs = listOf("-Xlint:all", "-Xlint:-options", "-Werror") | ||
} | ||
|
||
tasks.withType<Test>().configureEach { | ||
useJUnitPlatform() | ||
} | ||
|
@@ -117,12 +109,6 @@ java { | |
sourceSets["main"].output.dir(mapOf("builtBy" to syncScriptsDirTask), scriptsDir) | ||
|
||
spotless { | ||
java { | ||
licenseHeaderFile("$rootDir/gradle/spotless/license.java") | ||
|
||
googleJavaFormat("1.17.0").aosp() | ||
} | ||
|
||
kotlinGradle { | ||
ktlint() | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
plugins { | ||
id("org.zaproxy.common.settings") version "0.2.0" | ||
id("com.diffplug.spotless") version "6.20.0" apply false | ||
} | ||
|
||
rootProject.name = "community-scripts" |
2 changes: 1 addition & 1 deletion
2
src/main/resources/org/zaproxy/zap/extension/communityScripts/resources/Messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
communityScripts.name = Community Scripts | ||
communityScripts.desc = Community Scripts from https://github.com/zaproxy/community-scripts | ||
communityScripts.name = Community Scripts |