Skip to content

Commit

Permalink
[patch] due to problems with the last release's publication to nexus,…
Browse files Browse the repository at this point in the history
… making some adjustments to avoid issues with the boms
  • Loading branch information
robertfmurdock committed Sep 26, 2024
1 parent 995752d commit 07ce85d
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 35 deletions.
4 changes: 3 additions & 1 deletion .idea/artifacts/digger_cli_js.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/artifacts/digger_cli_jvm.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/artifacts/tagger_cli_js.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/artifacts/tagger_cli_jvm.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.zegreatrob.tools.plugins

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
}

tasks {
val javadocJar by creating(Jar::class) {
archiveClassifier.set("javadoc")
from("${rootDir.absolutePath}/javadocs")
}
publishing.publications {
withType<MavenPublication> { artifact(javadocJar) }
}
}

afterEvaluate {
tasks {
withType<PublishToMavenRepository> {
mustRunAfter(withType<Sign>())
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,4 @@ signing {

tasks {
publish { finalizedBy("::closeAndReleaseSonatypeStagingRepository") }
val javadocJar by creating(Jar::class) {
archiveClassifier.set("javadoc")
from("${rootDir.absolutePath}/javadocs")
}
publishing.publications {
withType<MavenPublication> { artifact(javadocJar) }
}
}

afterEvaluate {
tasks {
withType<PublishToMavenRepository> {
mustRunAfter(withType<Sign>())
}
}
}
3 changes: 1 addition & 2 deletions tools/digger-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
id("com.zegreatrob.tools.plugins.library")
}

group = "com.zegreatrob.tools"
Expand Down
3 changes: 1 addition & 2 deletions tools/digger-json/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
id("com.zegreatrob.tools.plugins.library")
id("org.jetbrains.kotlin.plugin.serialization") version embeddedKotlinVersion
}

Expand Down
3 changes: 1 addition & 2 deletions tools/digger-model/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
id("com.zegreatrob.tools.plugins.library")
}

group = "com.zegreatrob.tools"
Expand Down
2 changes: 0 additions & 2 deletions tools/digger-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ signing {
sign(publishing.publications)
}

group = "com.zegreatrob.tools"

afterEvaluate {
publishing.publications.withType<MavenPublication>().forEach {
with(it) {
Expand Down
3 changes: 1 addition & 2 deletions tools/git-adapter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
id("com.zegreatrob.tools.plugins.library")
}

group = "com.zegreatrob.tools"
Expand Down
3 changes: 1 addition & 2 deletions tools/tagger-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.zegreatrob.tools.plugins.mp")
id("com.zegreatrob.tools.plugins.publish")
id("com.zegreatrob.tools.plugins.library")
}

group = "com.zegreatrob.tools"
Expand Down
2 changes: 0 additions & 2 deletions tools/tagger-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ signing {
sign(publishing.publications)
}

group = "com.zegreatrob.tools"

afterEvaluate {
publishing.publications.withType<MavenPublication>().forEach {
with(it) {
Expand Down
2 changes: 1 addition & 1 deletion tools/tools-bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ plugins {
dependencies {
constraints {
api(project(":digger-core"))
api(project(":digger-model"))
api(project(":digger-json"))
api(project(":digger-model"))
api(project(":digger-plugin"))
api(project(":tagger-plugin"))
}
Expand Down

0 comments on commit 07ce85d

Please sign in to comment.