Skip to content

Commit 8ed9479

Browse files
committed
ktlint
1 parent e347e3a commit 8ed9479

File tree

1 file changed

+2
-1
lines changed
  • build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ internal fun isAvailableForPublication(project: Project, publication: MavenPubli
397397
// Validate publication name is allowed to be published
398398
shouldPublish = shouldPublish &&
399399
(
400-
ALLOWED_PUBLICATION_NAMES.any { publication.name.equals(it, ignoreCase = true) } || // standard publication
400+
ALLOWED_PUBLICATION_NAMES.any { publication.name.equals(it, ignoreCase = true) } ||
401+
// standard publication
401402
(ALLOWED_KOTLIN_NATIVE_PUBLICATION_NAMES.any { publication.name.equals(it, ignoreCase = true) } && (overrideGroupNameValidation || ALLOWED_KOTLIN_NATIVE_GROUP_NAMES.any { publication.groupId.equals(it, ignoreCase = true) })) // Kotlin/Native publication
402403
)
403404

0 commit comments

Comments
 (0)