Skip to content

Commit 0c75de4

Browse files
committed
Synchronise all plugins on Java 17
Minimum required GoCD version moves to 22.1.0.
1 parent 11c6336 commit 0c75de4

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
@@ -20,8 +20,8 @@ apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-help
2020

2121
gocdPlugin {
2222
id = 'cd.go.contrib.elasticagent.kubernetes'
23-
pluginVersion = '4.1.1'
24-
goCdVersion = '21.4.0'
23+
pluginVersion = '5.0.0'
24+
goCdVersion = '22.1.0'
2525
name = 'Kubernetes Elastic Agent Plugin'
2626
description = 'Kubernetes Based Elastic Agent Plugins for GoCD'
2727
vendorName = 'Thoughtworks, Inc.'
@@ -47,8 +47,13 @@ repositories {
4747
mavenLocal()
4848
}
4949

50+
java {
51+
sourceCompatibility = JavaVersion.VERSION_17
52+
targetCompatibility = JavaVersion.VERSION_17
53+
}
54+
5055
tasks.withType(JavaCompile).configureEach {
51-
options.release = 11
56+
options.release = 17
5257
}
5358

5459
ext {

0 commit comments

Comments
 (0)