Skip to content

Commit

Permalink
Revert to original style
Browse files Browse the repository at this point in the history
Changing the goVersion breaks some later automation so not worth it.
  • Loading branch information
chadlwilson committed Jun 24, 2024
1 parent 40f7ddc commit ab3e504
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ static String versionOf(String dependencySpec) {
}

ext {
goVersion = project.hasProperty('goVersion') ? project.goVersion : '24.3.0'
goVersion = '24.3.0'

deps = [
assertJ : 'org.assertj:assertj-core:3.26.0',
goPluginApi : "cd.go.plugin:go-plugin-api:${project.goVersion}",
gson : 'com.google.code.gson:gson:2.11.0',
jgit : 'org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r',
junit5 : 'org.junit.jupiter:junit-jupiter-api:5.10.2',
Expand Down Expand Up @@ -62,15 +61,15 @@ subprojects {
}

dependencies {
compileOnly project.deps.goPluginApi
compileOnly "cd.go.plugin:go-plugin-api:${project.goVersion}"

testImplementation project.deps.junit5
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${project.versions.junit5}"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation project.deps.assertJ
testImplementation project.deps.mockitoCore
testImplementation "org.mockito:mockito-junit-jupiter:${project.versions.mockitoCore}"
testImplementation project.deps.goPluginApi
testImplementation "cd.go.plugin:go-plugin-api:${project.goVersion}"
}

jar {
Expand Down

0 comments on commit ab3e504

Please sign in to comment.