@@ -8,10 +8,10 @@ import org.zaproxy.gradle.addon.misc.ConvertMarkdownToHtml
8
8
9
9
plugins {
10
10
`java- library`
11
- id(" org.zaproxy.add-on" ) version " 0.11.0 "
12
- id(" org.zaproxy.crowdin" ) version " 0.4 .0"
11
+ id(" org.zaproxy.add-on" ) version " 0.13.1 "
12
+ id(" org.zaproxy.crowdin" ) version " 0.6 .0"
13
13
id(" com.diffplug.spotless" )
14
- id(" com.github.node-gradle.node" ) version " 7.0.2 "
14
+ id(" com.github.node-gradle.node" ) version " 7.1.0 "
15
15
id(" org.zaproxy.common" )
16
16
}
17
17
@@ -22,7 +22,7 @@ val scriptsDir = layout.buildDirectory.dir("scripts")
22
22
zapAddOn {
23
23
addOnId.set(" communityScripts" )
24
24
addOnName.set(" Community Scripts" )
25
- zapVersion.set(" 2.15 .0" )
25
+ zapVersion.set(" 2.16 .0" )
26
26
addOnStatus.set(AddOnStatus .ALPHA )
27
27
28
28
releaseLink.set(
" https://github.com/zaproxy/community-scripts/compare/v@[email protected] @CURRENT_VERSION@" )
@@ -49,20 +49,20 @@ crowdin {
49
49
}
50
50
51
51
dependencies {
52
- testImplementation(" org.junit.jupiter:junit-jupiter:5.10.2 " )
52
+ testImplementation(" org.junit.jupiter:junit-jupiter:5.12.0 " )
53
53
testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
54
54
55
- testImplementation(" commons-io:commons-io:2.16.1 " )
56
- testImplementation(" org.assertj:assertj-core:3.26.0 " )
57
- testImplementation(" org.apache.commons:commons-lang3:3.14 .0" )
55
+ testImplementation(" commons-io:commons-io:2.18.0 " )
56
+ testImplementation(" org.assertj:assertj-core:3.27.3 " )
57
+ testImplementation(" org.apache.commons:commons-lang3:3.17 .0" )
58
58
59
59
// The following versions should match the ones of the add-ons.
60
60
testImplementation(" org.codehaus.groovy:groovy-all:3.0.14" )
61
61
val graalJsVersion = " 22.3.3"
62
62
testImplementation(" org.graalvm.js:js:$graalJsVersion " )
63
63
testImplementation(" org.graalvm.js:js-scriptengine:$graalJsVersion " )
64
64
testImplementation(" org.jruby:jruby-complete:1.7.4" )
65
- testImplementation(" org.zaproxy:zest:0.21 .0" )
65
+ testImplementation(" org.zaproxy:zest:0.24 .0" )
66
66
testImplementation(" org.python:jython-standalone:2.7.2" )
67
67
}
68
68
@@ -92,7 +92,7 @@ var scriptTypes =
92
92
" websocketpassive" ,
93
93
)
94
94
95
- val syncScriptsDirTask by tasks.creating (Sync ::class ) {
95
+ val syncScriptsDirTask by tasks.registering (Sync ::class ) {
96
96
into(scriptsDir.get().dir(project.name))
97
97
98
98
scriptTypes.forEach {
@@ -107,15 +107,15 @@ tasks.named(AddOnPlugin.GENERATE_MANIFEST_TASK_NAME) {
107
107
}
108
108
109
109
java {
110
- val javaVersion = JavaVersion .VERSION_11
110
+ val javaVersion = JavaVersion .VERSION_17
111
111
sourceCompatibility = javaVersion
112
112
targetCompatibility = javaVersion
113
113
}
114
114
115
115
sourceSets[" main" ].output.dir(mapOf (" builtBy" to syncScriptsDirTask), scriptsDir)
116
116
117
117
node {
118
- version = " 20.12.1 "
118
+ version = " 22.14.0 "
119
119
download = true
120
120
}
121
121
0 commit comments