Skip to content

Commit 8400402

Browse files
committed
Feature: Support 23.0.x
Signed-off-by: Kleber Rocha <[email protected]>
1 parent 2acfe5f commit 8400402

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,20 @@ java {
5757
targetCompatibility = JavaVersion.VERSION_11
5858
}
5959

60+
ext {
61+
deps = [
62+
gocdPluginApi: 'cd.go.plugin:go-plugin-api:23.3.0',
63+
]
64+
65+
versions = project.ext.deps.collectEntries { lib, libGav -> [lib, libGav.split(':').last()] }
66+
}
67+
6068
dependencies {
61-
compileOnly group: 'cd.go.plugin', name: 'go-plugin-api', version: '19.2.0'
69+
compileOnly project.deps.gocdPluginApi
6270
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
6371
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.11.0'
6472

65-
testImplementation group: 'cd.go.plugin', name: 'go-plugin-api', version: '19.2.0'
73+
testImplementation project.deps.gocdPluginApi
6674
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.2.28'
6775
testImplementation group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
6876
testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.4.0'

src/main/resources-generated/plugin.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
id=cd.go.authorization.keycloak
1818
name=Keycloak oauth authorization plugin
19-
version=2.0.0-15
19+
version=2.0.0-16
2020
goCdVersion=19.2.0
2121
description=Keycloak oauth authorization plugin for GoCD
2222
vendorName=klinux

src/main/resources-generated/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<go-plugin id="cd.go.authorization.keycloak" version="1">
1818
<about>
1919
<name>Keycloak oauth authorization plugin</name>
20-
<version>2.0.0-15</version>
20+
<version>2.0.0-16</version>
2121
<target-go-version>19.2.0</target-go-version>
2222
<description>Keycloak oauth authorization plugin for GoCD</description>
2323
<vendor>

0 commit comments

Comments
 (0)