Skip to content

Commit df8b90d

Browse files
committed
Updated workaround for dependency management plugin causing pipeline to fail
1 parent 2603dfe commit df8b90d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bee.buzz/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jreleaser {
136136
// See: https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257#issuecomment-895790557
137137
tasks.withType<GenerateMavenPom>().all {
138138
doLast {
139-
val file = File("${layout.buildDirectory.get().asFile.toURI()}/publications/Maven/pom-default.xml")
139+
val file = file("${layout.buildDirectory.get().asFile.toURI()}/publications/Maven/pom-default.xml")
140140
var text = file.readText()
141141
val regex = "(?s)(<dependencyManagement>.+?<dependencies>)(.+?)(</dependencies>.+?</dependencyManagement>)".toRegex()
142142
val matcher = regex.find(text)

bee.functional/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jreleaser {
181181
// See: https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257#issuecomment-895790557
182182
tasks.withType<GenerateMavenPom>().all {
183183
doLast {
184-
val file = File("${layout.buildDirectory.get().asFile.toURI()}/publications/Maven/pom-default.xml")
184+
val file = file("${layout.buildDirectory.get().asFile.toURI()}/publications/Maven/pom-default.xml")
185185
var text = file.readText()
186186
val regex = "(?s)(<dependencyManagement>.+?<dependencies>)(.+?)(</dependencies>.+?</dependencyManagement>)".toRegex()
187187
val matcher = regex.find(text)

0 commit comments

Comments
 (0)