File tree Expand file tree Collapse file tree 1 file changed +14
-20
lines changed Expand file tree Collapse file tree 1 file changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ allprojects {
7171 }
7272}
7373
74+ val scmUrl = " github.com/europace/docker-publish-gradle-plugin"
7475gradlePlugin {
75- val scmUrl = " https://github.com/europace/docker-publish-gradle-plugin"
76- website.set(scmUrl)
77- vcsUrl.set(scmUrl)
76+ website.set(" https://$scmUrl " )
77+ vcsUrl.set(" https://$scmUrl " )
7878 plugins {
7979 create(" dockerPublishPlugin" ) {
8080 id = " de.europace.docker-publish"
@@ -84,23 +84,17 @@ gradlePlugin {
8484 tags.set(listOf (" docker" , " publish" , " publishing" ))
8585 }
8686 }
87- publishing {
88- publications {
89- register(" plugin" , MavenPublication ::class ) {
90- from(components[" java" ])
91- pom {
92- url.set(scmUrl)
93- scm {
94- url.set(scmUrl)
95- }
96- }
97- }
98- withType(MavenPublication ::class ).configureEach {
99- pom {
100- url.set(scmUrl)
101- scm {
102- url.set(scmUrl)
103- }
87+ }
88+ publishing {
89+ publications {
90+ register<MavenPublication >(" dockerPublishPlugin" ) {
91+ from(components[" java" ])
92+ pom {
93+ url.set(" https://$scmUrl " )
94+ scm {
95+ connection.set(" scm:git:$scmUrl " )
96+ developerConnection.set(" scm:git:ssh://$scmUrl " )
97+ url.set(" https://$scmUrl " )
10498 }
10599 }
106100 }
You can’t perform that action at this time.
0 commit comments