@@ -7,13 +7,10 @@ import org.zaproxy.gradle.addon.misc.ConvertMarkdownToHtml
77
88plugins {
99 `java- library`
10- id(" org.zaproxy.add-on" ) version " 0.9 .0"
10+ id(" org.zaproxy.add-on" ) version " 0.10 .0"
1111 id(" org.zaproxy.crowdin" ) version " 0.3.1"
12- id(" com.diffplug.spotless" ) version " 6.20.0"
13- }
14-
15- repositories {
16- mavenCentral()
12+ id(" com.diffplug.spotless" )
13+ id(" org.zaproxy.common" )
1714}
1815
1916description = " Useful ZAP scripts written by the ZAP community."
@@ -23,7 +20,7 @@ val scriptsDir = layout.buildDirectory.dir("scripts")
2320zapAddOn {
2421 addOnId.set(" communityScripts" )
2522 addOnName.set(" Community Scripts" )
26- zapVersion.set(" 2.13 .0" )
23+ zapVersion.set(" 2.14 .0" )
2724 addOnStatus.set(AddOnStatus .ALPHA )
2825
2926 releaseLink.set(
" https://github.com/zaproxy/community-scripts/compare/v@[email protected] @CURRENT_VERSION@" )
@@ -64,11 +61,6 @@ dependencies {
6461 testImplementation(" org.python:jython-standalone:2.7.2" )
6562}
6663
67- tasks.withType<JavaCompile >().configureEach {
68- options.encoding = " UTF-8"
69- options.compilerArgs = listOf (" -Xlint:all" , " -Xlint:-options" , " -Werror" )
70- }
71-
7264tasks.withType<Test >().configureEach {
7365 useJUnitPlatform()
7466}
@@ -117,12 +109,6 @@ java {
117109sourceSets[" main" ].output.dir(mapOf (" builtBy" to syncScriptsDirTask), scriptsDir)
118110
119111spotless {
120- java {
121- licenseHeaderFile(" $rootDir /gradle/spotless/license.java" )
122-
123- googleJavaFormat(" 1.17.0" ).aosp()
124- }
125-
126112 kotlinGradle {
127113 ktlint()
128114 }
0 commit comments