Skip to content

Commit

Permalink
Revert to com.gradle.enterprise:3.15.1
Browse files Browse the repository at this point in the history
* Upgrade to `io.spring.ge.conventions:0.0.15`
* Rearrange `imports.mavenBom` order in attempt to resolve the problem with version resolution on CI
  • Loading branch information
artembilan committed Jan 19, 2024
1 parent 9889c27 commit 1ca97ea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
25 changes: 12 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ allprojects {

apply plugin: 'io.spring.dependency-management'

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
}
// maven { url 'https://repository.apache.org/content/groups/staging/' }
}

dependencyManagement {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
Expand All @@ -101,23 +110,13 @@ allprojects {
imports {
mavenBom "com.fasterxml.jackson:jackson-bom:$jacksonBomVersion"
mavenBom "org.junit:junit-bom:$junitJupiterVersion"
mavenBom "org.springframework:spring-framework-bom:$springVersion"
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
mavenBom "org.springframework.data:spring-data-bom:$springDataVersion"
mavenBom "io.micrometer:micrometer-bom:$micrometerVersion"
mavenBom "io.micrometer:micrometer-tracing-bom:$micrometerTracingVersion"
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
mavenBom "org.springframework.data:spring-data-bom:$springDataVersion"
mavenBom "org.springframework:spring-framework-bom:$springVersion"
}
}

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
}
// maven { url 'https://repository.apache.org/content/groups/staging/' }
}

}

configure(javaProjects) { subproject ->
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'com.gradle.enterprise' version '3.12.6'
id 'io.spring.ge.conventions' version '0.0.14'
id 'com.gradle.enterprise' version '3.15.1'
id 'io.spring.ge.conventions' version '0.0.15'
}

rootProject.name = 'spring-kafka-dist'
Expand Down

0 comments on commit 1ca97ea

Please sign in to comment.