Skip to content

Commit

Permalink
#318 Use Groovy version from Gradle
Browse files Browse the repository at this point in the history
This should work for the Plugin and
result in compatibility for Spock
  • Loading branch information
ascheman authored and Gerd Aschemann (EXT) committed Nov 19, 2024
1 parent 9a844eb commit 1b0d01c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ext.urls = [
]

// tag::mavenBuildRepo[]
File baseBuildDir = file("${project.rootDir}/build")
File baseBuildDir = file("${project.rootDir}/${Project.DEFAULT_BUILD_DIR_NAME}")
File mavenBuildRepo = new File(baseBuildDir, "maven-repo")
// end::mavenBuildRepo[]

Expand Down Expand Up @@ -167,7 +167,6 @@ configure(subprojects) {
description "${rootProject.description} - Module ${project.name}"

dependencies {
implementation platform(libs.groovy.bom)
implementation platform(libs.slf4j.bom)

testImplementation platform(libs.spock)
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ wiremock-testcontainers-version = '1.0-alpha-14'
[libraries]
commons-validator = 'commons-validator:commons-validator:1.9.0'
# Use latest 3.x Groovy Version to use Spock for Groovy 3 as long as Gradle uses Groovy 3
groovy-bom = 'org.codehaus.groovy:groovy-bom:3.0.22'
jsoup = 'org.jsoup:jsoup:1.18.1'
junit-vintage = { module = 'org.junit.vintage:junit-vintage-engine', version.ref = 'junit5-version' }
lombok = 'org.projectlombok:lombok:1.18.36'
Expand Down
1 change: 1 addition & 0 deletions htmlSanityCheck-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies {
implementation libs.picocli.impl
annotationProcessor libs.picocli.annotationprocessor

implementation platform("org.codehaus.groovy:groovy-bom:${GroovySystem.version}")
implementation 'org.codehaus.groovy:groovy'
implementation 'org.slf4j:slf4j-api'
implementation 'org.slf4j:slf4j-simple'
Expand Down
1 change: 0 additions & 1 deletion htmlSanityCheck-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dependencies {

gitProperties {
// specify the location of the generated file
// gitPropertiesResourceDir = file("${project.projectDir}/build/resources/main")

// specify the properties to include
keys = ['git.branch',
Expand Down

0 comments on commit 1b0d01c

Please sign in to comment.