Skip to content

Commit d8ffd2a

Browse files
committed
Synchronise all plugins on Java 17
Minimum required GoCD version moves to 22.1.0.
1 parent 2ad5e40 commit d8ffd2a

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 = 'cd.go.contrib.elastic-agent.docker'
22-
pluginVersion = '3.4.0'
23-
goCdVersion = '21.4.0'
22+
pluginVersion = '4.0.0'
23+
goCdVersion = '22.1.0'
2424
name = 'Docker Elastic Agent Plugin'
2525
description = 'Docker Based Elastic Agent Plugins for GoCD'
2626
vendorName = 'Thoughtworks, Inc.'
@@ -46,8 +46,13 @@ repositories {
4646
mavenLocal()
4747
}
4848

49+
java {
50+
sourceCompatibility = JavaVersion.VERSION_17
51+
targetCompatibility = JavaVersion.VERSION_17
52+
}
53+
4954
tasks.withType(JavaCompile).configureEach {
50-
options.release = 11
55+
options.release = 17
5156
}
5257

5358
ext {

0 commit comments

Comments
 (0)