Skip to content

Commit 83391ad

Browse files
committed
Try fix build
1 parent 0ef6b50 commit 83391ad

File tree

8 files changed

+49
-58
lines changed

8 files changed

+49
-58
lines changed

aws-runtime/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65
import aws.sdk.kotlin.gradle.kmp.kotlin
76
import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
87
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

bom/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
76
import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
87
import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
@@ -98,8 +97,6 @@ fun DependencyConstraintHandler.api(constraintNotation: Any) =
9897

9998
createBomConstraintsAndVersionCatalog()
10099

101-
configureNexusPublishing("aws-sdk-kotlin")
102-
103100
publishing {
104101
publications {
105102
create("bom", MavenPublication::class) {

hll/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
76
import aws.sdk.kotlin.gradle.kmp.kotlin
87
import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
98
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -46,7 +45,6 @@ val hllPreviewVersion = if (sdkVersion.contains("-SNAPSHOT")) { // e.g. 1.3.29-b
4645
subprojects {
4746
group = "com.sonatype.central.testing.amazon"
4847
version = hllPreviewVersion
49-
configureNexusPublishing("aws-sdk-kotlin")
5048
}
5149

5250
subprojects {

hll/dynamodb-mapper/dynamodb-mapper-codegen/build.gradle.kts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff 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+
//}

hll/dynamodb-mapper/dynamodb-mapper-schema-codegen/build.gradle.kts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff 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+
//}

hll/dynamodb-mapper/dynamodb-mapper-schema-generator-plugin/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

7878
tasks.test {

hll/hll-codegen/build.gradle.kts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff 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+
//}

services/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65
import aws.sdk.kotlin.gradle.kmp.*
76
import aws.sdk.kotlin.gradle.util.typedProp
87
import 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

0 commit comments

Comments
 (0)