File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ fun Project.skipPublishing() {
5454 * Configure publishing for this project. This applies the `maven-publish` and `signing` plugins and configures
5555 * the publications.
5656 * @param repoName the repository name (e.g. `smithy-kotlin`, `aws-sdk-kotlin`, etc)
57+ * @param githubOrganization the name of the GitHub organization that [repoName] is located in
5758 */
58- fun Project.configurePublishing (repoName : String ) {
59+ fun Project.configurePublishing (repoName : String , githubOrganization : String = "awslabs" ) {
5960 val project = this
6061 apply (plugin = " maven-publish" )
6162
@@ -77,8 +78,6 @@ fun Project.configurePublishing(repoName: String) {
7778 publications.all {
7879 if (this !is MavenPublication ) return @all
7980
80- val githubOrganization = if (repoName.equals(" smithy-kotlin" , ignoreCase = true )) " smithy-lang" else " awslabs"
81-
8281 project.afterEvaluate {
8382 pom {
8483 name.set(project.name)
You can’t perform that action at this time.
0 commit comments