File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ test {
124124jar. dependsOn(copyToLib)
125125
126126nexusPublishing {
127- packageGroup = ' com.github. rundeck- plugins'
127+ packageGroup = ' com.rundeck. plugins'
128128 repositories {
129129 sonatype {
130130 nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
@@ -135,20 +135,18 @@ nexusPublishing {
135135
136136apply from : " ${ rootDir} /gradle/publishing.gradle"
137137
138- // Add PackageCloud repository after publishing.gradle configures the publication
139- afterEvaluate {
140- publishing {
141- repositories {
142- maven {
143- name = " PackageCloudTest"
144- url = uri(" https://packagecloud.io/pagerduty/rundeckpro-test/maven2" )
145- authentication {
146- header(HttpHeaderAuthentication )
147- }
148- credentials(HttpHeaderCredentials ) {
149- name = " Authorization"
150- value = " Bearer " + (System . getenv(" PKGCLD_WRITE_TOKEN" ) ?: project. findProperty(" pkgcldWriteToken" ))
151- }
138+ // Add PackageCloud repository
139+ publishing {
140+ repositories {
141+ maven {
142+ name = " PackageCloudTest"
143+ url = uri(" https://packagecloud.io/pagerduty/rundeckpro-test/maven2" )
144+ authentication {
145+ header(HttpHeaderAuthentication )
146+ }
147+ credentials(HttpHeaderCredentials ) {
148+ name = " Authorization"
149+ value = " Bearer " + (System . getenv(" PKGCLD_WRITE_TOKEN" ) ?: project. findProperty(" pkgcldWriteToken" ))
152150 }
153151 }
154152 }
You can’t perform that action at this time.
0 commit comments