Skip to content

Commit 2090268

Browse files
authored
docs: rename awslabs/smithy-kotlin to smithy-lang/smithy-kotlin (#58)
1 parent 8bc8e1b commit 2090268

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This repository contains shared tooling for AWS Kotlin repositories:
44

55
* `awslabs/aws-sdk-kotlin`
6-
* `awslabs/smithy-kotlin`
6+
* `smithy-lang/smithy-kotlin`
77
* `awslabs/aws-crt-kotlin`
88

99
It contains shared custom Gradle plugins and build logic used to build and release those repositories.

build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

@@ -81,7 +82,7 @@ fun Project.configurePublishing(repoName: String) {
8182
pom {
8283
name.set(project.name)
8384
description.set(project.description)
84-
url.set("https://github.com/awslabs/$repoName")
85+
url.set("https://github.com/$githubOrganization/$repoName")
8586
licenses {
8687
license {
8788
name.set("The Apache License, Version 2.0")
@@ -95,9 +96,9 @@ fun Project.configurePublishing(repoName: String) {
9596
}
9697
}
9798
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")
99+
connection.set("scm:git:git://github.com/$githubOrganization/$repoName.git")
100+
developerConnection.set("scm:git:ssh://github.com/$githubOrganization/$repoName.git")
101+
url.set("https://github.com/$githubOrganization/$repoName")
101102
}
102103

103104
artifact(javadocJar)

build-plugins/smithy-build/src/main/kotlin/aws/sdk/kotlin/gradle/codegen/dsl/SmithyKotlinPluginSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import java.util.*
1212

1313
/**
1414
* Container for `smithy-kotlin` plugin settings
15-
* See https://github.com/awslabs/smithy-kotlin/blob/main/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettings.kt
15+
* See https://github.com/smithy-lang/smithy-kotlin/blob/main/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettings.kt
1616
*/
1717
open class SmithyKotlinApiSettings : ToNode {
1818
var visibility: String? = null

0 commit comments

Comments
 (0)