File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
dynamodb-mapper-ops-codegen
dynamodb-mapper-schema-codegen
dynamodb-mapper-schema-generator-plugin Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ extra["displayName"] = "AWS :: SDK :: Kotlin :: HLL :: DynamoDbMapper :: Codegen
88extra[" moduleName" ] = " aws.sdk.kotlin.hll.dynamodbmapper.codegen"
99
1010plugins {
11- alias (libs.plugins.kotlin.jvm)
11+ id (libs.plugins.kotlin.jvm.get().pluginId )
1212 `maven- publish`
1313}
1414
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ extra["displayName"] = "AWS :: SDK :: Kotlin :: HLL :: DynamoDbMapper :: Codegen
88extra[" moduleName" ] = " aws.sdk.kotlin.hll.dynamodbmapper.codegen.ops"
99
1010plugins {
11- alias (libs.plugins.kotlin.jvm)
11+ id (libs.plugins.kotlin.jvm.get().pluginId )
1212}
1313
1414dependencies {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ extra["displayName"] = "AWS :: SDK :: Kotlin :: HLL :: DynamoDbMapper :: Codegen
88extra[" moduleName" ] = " aws.sdk.kotlin.hll.dynamodbmapper.codegen.schema"
99
1010plugins {
11- alias (libs.plugins.kotlin.jvm)
11+ id (libs.plugins.kotlin.jvm.get().pluginId )
1212 `maven- publish`
1313}
1414
Original file line number Diff line number Diff line change 1- import aws.smithy.kotlin.runtime.InternalApi
2- import aws.smithy.kotlin.runtime.text.ensureSuffix
31import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
42
53/*
@@ -90,7 +88,8 @@ tasks.test {
9088// FIXME Commonize the following functions into the aws-kotlin-repo-tools build-support
9189val sdkVersion: String by project
9290
93- @OptIn(InternalApi ::class )
91+ private fun String.ensureSuffix (suffix : String ): String = if (endsWith(suffix)) this else plus(suffix)
92+
9493val hllPreviewVersion = if (sdkVersion.contains(" -SNAPSHOT" )) { // e.g. 1.3.29-beta-SNAPSHOT
9594 sdkVersion
9695 .removeSuffix(" -SNAPSHOT" )
You can’t perform that action at this time.
0 commit comments