File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments