Skip to content

Commit

Permalink
apply checkstyle dependency resolution workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
atomfrede committed Dec 14, 2023
1 parent 3b115cf commit 9e0c0bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generators/server/templates/build.gradle.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ configurations {
implementation.exclude module: "spring-boot-starter-tomcat"
}

// workaround for https://github.com/checkstyle/checkstyle/issues/14123
configurations.checkstyle {
resolutionStrategy.capabilitiesResolution.withCapability("com.google.collections:google-collections") {
select("com.google.guava:guava:0")
}
}

repositories {
// Local maven repository is required for libraries built locally with maven like development jhipster-bom.
<%= !jhipsterDependenciesVersion.includes('-SNAPSHOT') && !jhipsterDependenciesVersion.includes('-CICD') ? '// ' : '' %>mavenLocal()
Expand Down

0 comments on commit 9e0c0bd

Please sign in to comment.