Skip to content

Commit 0bb0b2b

Browse files
committed
Update staged artifacts location
1 parent 9111e55 commit 0bb0b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle/publishing.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ publishing {
9696
}
9797
repositories {
9898
maven {
99-
url = layout.buildDirectory.dir('staging-deploy')
99+
url = rootProject.layout.buildDirectory.dir('staging-deploy')
100100
}
101101
}
102102
}
@@ -112,7 +112,7 @@ jreleaser {
112112
central {
113113
active = 'ALWAYS'
114114
url = 'https://central.sonatype.com/api/v1/publisher'
115-
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().toString())
115+
stagingRepository(rootProject.layout.buildDirectory.dir("staging-deploy").get().toString())
116116
stage = 'UPLOAD'
117117
applyMavenCentralRules = true
118118
namespace = 'org.testcontainers'

0 commit comments

Comments
 (0)