Skip to content

Commit 3631a35

Browse files
committed
Synchronise all plugins on Java 17
Minimum required GoCD version moves to 22.1.0.
1 parent 38d565f commit 3631a35

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-help
1919

2020
gocdPlugin {
2121
id = 'script-executor'
22-
pluginVersion = '1.0.3'
23-
goCdVersion = '20.1.0'
22+
pluginVersion = '2.0.0'
23+
goCdVersion = '22.1.0'
2424
name = 'Script Executor'
2525
description = 'Thoughtworks GoCD plugin to run scripts'
2626
vendorName = 'Srinivas Upadhya'
@@ -38,8 +38,13 @@ gocdPlugin {
3838
assetsToRelease = [project.tasks.jar]
3939
}
4040

41+
java {
42+
sourceCompatibility = JavaVersion.VERSION_17
43+
targetCompatibility = JavaVersion.VERSION_17
44+
}
45+
4146
tasks.withType(JavaCompile).configureEach {
42-
options.release = 11
47+
options.release = 17
4348
}
4449

4550
allprojects {

0 commit comments

Comments
 (0)