File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,13 @@ fun Project.configurePublishing(repoName: String) {
7777 publications.all {
7878 if (this !is MavenPublication ) return @all
7979
80+ val githubOrganization = if (repoName.equals(" smithy-kotlin" , ignoreCase = true )) " smithy-lang" else " awslabs"
81+
8082 project.afterEvaluate {
8183 pom {
8284 name.set(project.name)
8385 description.set(project.description)
84- url.set(" https://github.com/awslabs /$repoName " )
86+ url.set(" https://github.com/$githubOrganization /$repoName " )
8587 licenses {
8688 license {
8789 name.set(" The Apache License, Version 2.0" )
@@ -95,9 +97,9 @@ fun Project.configurePublishing(repoName: String) {
9597 }
9698 }
9799 scm {
98- connection.set(" scm:git:git://github.com/awslabs /$repoName .git" )
99- developerConnection.set(" scm:git:ssh://github.com/awslabs /$repoName .git" )
100- url.set(" https://github.com/awslabs /$repoName " )
100+ connection.set(" scm:git:git://github.com/$githubOrganization /$repoName .git" )
101+ developerConnection.set(" scm:git:ssh://github.com/$githubOrganization /$repoName .git" )
102+ url.set(" https://github.com/$githubOrganization /$repoName " )
101103 }
102104
103105 artifact(javadocJar)
You can’t perform that action at this time.
0 commit comments