Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.gradle.internal.extensions.stdlib.capitalized
import org.jreleaser.model.Active

plugins {
Expand All @@ -7,6 +8,8 @@ plugins {
id("api-models-aws.publishing-conventions")
}

description = "This module contains the Smithy model (JSON AST) for all AWS services."
extra["displayName"] = "Software :: Amazon :: API :: Models"
subprojects {
afterEvaluate {
apply {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.internal.extensions.stdlib.capitalized

plugins {
`java-library`
id("software.amazon.smithy.gradle.smithy-jar")
Expand All @@ -12,6 +14,9 @@ repositories {
//// Workaround per: https://github.com/gradle/gradle/issues/15383
val Project.libs get() = the<org.gradle.accessors.dm.LibrariesForLibs>()

description = "This module contains the Smithy model (JSON AST) for ${name.capitalized()}."
extra["displayName"] = "Software :: Amazon :: API :: Models :: ${name.capitalized()}"

dependencies {
implementation(libs.smithy.aws.cloudformation.traits)
implementation(libs.smithy.aws.endpoints)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@ publishing {
} else {
from(components["javaPlatform"])
}

afterEvaluate {
pom {
name.set(project.ext["displayName"].toString())
description.set(project.description)
url.set("https://github.com/aws/api-models-aws")
licenses {
license {
name.set("Apache License 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("repo")
}
}
developers {
developer {
id.set("aws")
name.set("AWS")
organization.set("Amazon Web Services")
organizationUrl.set("https://aws.amazon.com")
roles.add("developer")
}
}
scm {
url.set("https://github.com/aws/api-models-aws.git")
}
}
}
}
}
}
}
Loading