Skip to content

Commit a42abe3

Browse files
committed
Fix based on feedback
1 parent 9382a90 commit a42abe3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

build.gradle

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,15 @@ jreleaser {
104104

105105
deploy {
106106
maven {
107+
def stagingRepositories = ['core/build/staging-deploy',
108+
'integration-test/build/staging-deploy',
109+
'schema-loader/build/staging-deploy',
110+
'data-loader/core/build/staging-deploy']
107111
mavenCentral {
108112
sonatype {
109113
active = 'RELEASE'
110114
url = 'https://central.sonatype.com/api/v1/publisher'
111-
stagingRepository('core/build/staging-deploy')
112-
stagingRepository('integration-test/build/staging-deploy')
113-
stagingRepository('schema-loader/build/staging-deploy')
114-
stagingRepository('data-loader/core/build/staging-deploy')
115+
stagingRepositories.each { stagingRepository(it) }
115116
}
116117
}
117118
nexus2 {
@@ -122,10 +123,7 @@ jreleaser {
122123
snapshotSupported = true
123124
closeRepository = true
124125
releaseRepository = true
125-
stagingRepository('core/build/staging-deploy')
126-
stagingRepository('integration-test/build/staging-deploy')
127-
stagingRepository('schema-loader/build/staging-deploy')
128-
stagingRepository('data-loader/core/build/staging-deploy')
126+
stagingRepositories.each { stagingRepository(it) }
129127
}
130128
}
131129
}

0 commit comments

Comments
 (0)