File tree Expand file tree Collapse file tree 8 files changed +49
-58
lines changed
dynamodb-mapper-schema-codegen
dynamodb-mapper-schema-generator-plugin Expand file tree Collapse file tree 8 files changed +49
-58
lines changed Original file line number Diff line number Diff line change 22 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 * SPDX-License-Identifier: Apache-2.0
44 */
5- import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
65import aws.sdk.kotlin.gradle.kmp.kotlin
76import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
87import org.jetbrains.kotlin.gradle.dsl.JvmTarget
Original file line number Diff line number Diff line change 22 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 * SPDX-License-Identifier: Apache-2.0
44 */
5- import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
65import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
76import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
87import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
@@ -98,8 +97,6 @@ fun DependencyConstraintHandler.api(constraintNotation: Any) =
9897
9998createBomConstraintsAndVersionCatalog()
10099
101- configureNexusPublishing(" aws-sdk-kotlin" )
102-
103100publishing {
104101 publications {
105102 create(" bom" , MavenPublication ::class ) {
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: Apache-2.0
44 */
55
6- import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
76import aws.sdk.kotlin.gradle.kmp.kotlin
87import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
98import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -46,7 +45,6 @@ val hllPreviewVersion = if (sdkVersion.contains("-SNAPSHOT")) { // e.g. 1.3.29-b
4645subprojects {
4746 group = " com.sonatype.central.testing.amazon"
4847 version = hllPreviewVersion
49- configureNexusPublishing(" aws-sdk-kotlin" )
5048}
5149
5250subprojects {
Original file line number Diff line number Diff line change @@ -30,18 +30,18 @@ kotlin {
3030 }
3131}
3232
33- val sourcesJar by tasks.creating(Jar ::class ) {
34- group = " publishing"
35- description = " Assembles Kotlin sources jar"
36- archiveClassifier.set(" sources" )
37- from(sourceSets.getByName(" main" ).allSource)
38- }
39-
40- publishing {
41- publications {
42- create<MavenPublication >(" dynamodb-mapper-codegen" ) {
43- from(components[" java" ])
44- artifact(sourcesJar)
45- }
46- }
47- }
33+ // val sourcesJar by tasks.creating(Jar::class) {
34+ // group = "publishing"
35+ // description = "Assembles Kotlin sources jar"
36+ // archiveClassifier.set("sources")
37+ // from(sourceSets.getByName("main").allSource)
38+ // }
39+ //
40+ // publishing {
41+ // publications {
42+ // create<MavenPublication>("dynamodb-mapper-codegen") {
43+ // from(components["java"])
44+ // artifact(sourcesJar)
45+ // }
46+ // }
47+ // }
Original file line number Diff line number Diff line change @@ -54,18 +54,18 @@ tasks.test {
5454 }
5555}
5656
57- val sourcesJar by tasks.creating(Jar ::class ) {
58- group = " publishing"
59- description = " Assembles Kotlin sources jar"
60- archiveClassifier.set(" sources" )
61- from(sourceSets.getByName(" main" ).allSource)
62- }
63-
64- publishing {
65- publications {
66- create<MavenPublication >(" dynamodb-mapper-schema-codegen" ) {
67- from(components[" java" ])
68- artifact(sourcesJar)
69- }
70- }
71- }
57+ // val sourcesJar by tasks.creating(Jar::class) {
58+ // group = "publishing"
59+ // description = "Assembles Kotlin sources jar"
60+ // archiveClassifier.set("sources")
61+ // from(sourceSets.getByName("main").allSource)
62+ // }
63+ //
64+ // publishing {
65+ // publications {
66+ // create<MavenPublication>("dynamodb-mapper-schema-codegen") {
67+ // from(components["java"])
68+ // artifact(sourcesJar)
69+ // }
70+ // }
71+ // }
Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ afterEvaluate {
6969
7070// tasks.findByName("signDynamodb-mapper-schema-generatorPluginMarkerMavenPublication")
7171// ?.dependsOn(tasks.named("javadocJar"))
72-
73- tasks.named(" emptyJar" ) {
74- enabled = false
75- }
72+ //
73+ // tasks.named("emptyJar") {
74+ // enabled = false
75+ // }
7676}
7777
7878tasks.test {
Original file line number Diff line number Diff line change @@ -33,18 +33,18 @@ dependencies {
3333 testImplementation(kotlin(" test" ))
3434}
3535
36- val sourcesJar by tasks.creating(Jar ::class ) {
37- group = " publishing"
38- description = " Assembles Kotlin sources jar"
39- archiveClassifier.set(" sources" )
40- from(sourceSets.getByName(" main" ).allSource)
41- }
42-
43- publishing {
44- publications {
45- create<MavenPublication >(" hll-codegen" ) {
46- from(components[" java" ])
47- artifact(sourcesJar)
48- }
49- }
50- }
36+ // val sourcesJar by tasks.creating(Jar::class) {
37+ // group = "publishing"
38+ // description = "Assembles Kotlin sources jar"
39+ // archiveClassifier.set("sources")
40+ // from(sourceSets.getByName("main").allSource)
41+ // }
42+
43+ // publishing {
44+ // publications {
45+ // create<MavenPublication>("hll-codegen") {
46+ // from(components["java"])
47+ // artifact(sourcesJar)
48+ // }
49+ // }
50+ // }
Original file line number Diff line number Diff line change 22 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 * SPDX-License-Identifier: Apache-2.0
44 */
5- import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
65import aws.sdk.kotlin.gradle.kmp.*
76import aws.sdk.kotlin.gradle.util.typedProp
87import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -135,8 +134,6 @@ subprojects {
135134 }
136135 }
137136
138- configureNexusPublishing(" aws-sdk-kotlin" )
139-
140137 publishing {
141138 publications.all {
142139 if (this !is MavenPublication ) return @all
You can’t perform that action at this time.
0 commit comments