Skip to content

Commit

Permalink
Compile against client APIs only
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Apr 23, 2023
1 parent a5e4d55 commit a58fa25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ java {
ext {
deps = [
gocdPluginApi: 'cd.go.plugin:go-plugin-api:23.1.0',
kubernetesClientApi: 'io.fabric8:kubernetes-client-api:6.5.1',
]

versions = project.ext.deps.collectEntries { lib, libGav -> [lib, libGav.split(':').last()] }
Expand All @@ -63,6 +64,8 @@ ext {
dependencies {
compileOnly project.deps.gocdPluginApi
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
implementation project.deps.kubernetesClientApi
runtimeOnly group: 'io.fabric8', name: 'kubernetes-client', version: project.versions.kubernetesClientApi
implementation group: 'io.fabric8', name: 'kubernetes-client', version: '6.5.1'
implementation group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.9.10'
implementation group: 'org.freemarker', name: 'freemarker', version: '2.3.32'
Expand Down

0 comments on commit a58fa25

Please sign in to comment.