diff --git a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt index 7a722f9..452e5d8 100644 --- a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt +++ b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt @@ -34,6 +34,14 @@ private val ALLOWED_PUBLICATIONS = listOf( "android", // aws-crt-kotlin "codegen", "codegen-testutils", + + // aws-sdk-kotlin:hll + "hll-codegen", + "dynamodb-mapper-codegen", + "dynamodb-mapper-schema-generator-plugin", + "dynamodb-mapper-schema-codegen", + "pluginMaven", + "dynamodb-mapper-schema-generatorPluginMarkerMaven" ) /** @@ -51,7 +59,6 @@ fun Project.skipPublishing() { fun Project.configurePublishing(repoName: String) { val project = this apply(plugin = "maven-publish") - apply(plugin = "signing") // FIXME: create a real "javadoc" JAR from Dokka output val javadocJar = tasks.register("emptyJar") { @@ -99,6 +106,7 @@ fun Project.configurePublishing(repoName: String) { } if (project.hasProperty(SIGNING_KEY_PROP) && project.hasProperty(SIGNING_PASSWORD_PROP)) { + apply(plugin = "signing") extensions.configure { useInMemoryPgpKeys( project.property(SIGNING_KEY_PROP) as String, @@ -119,7 +127,7 @@ fun Project.configurePublishing(repoName: String) { onlyIf { isAvailableForPublication(project, publication).also { if (!it) { - logger.warn("Skipping publication, project=${project.name}; publication=${publication.name}") + logger.warn("Skipping publication, project=${project.name}; publication=${publication.name}; group=${publication.groupId}") } } }