Skip to content

Commit

Permalink
[patch] attempting to correct the problems with the cli extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfmurdock committed Sep 26, 2024
1 parent 9e8bc50 commit 995752d
Show file tree
Hide file tree
Showing 43 changed files with 49 additions and 53 deletions.
6 changes: 2 additions & 4 deletions .idea/artifacts/digger_cli_js.xml

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

6 changes: 2 additions & 4 deletions .idea/artifacts/digger_cli_jvm.xml

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

6 changes: 2 additions & 4 deletions .idea/artifacts/tagger_cli_js.xml

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

6 changes: 2 additions & 4 deletions .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.

14 changes: 7 additions & 7 deletions .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tasks {
dependsOn(provider { gradle.includedBuilds.map { it.task(":assemble") }.toList() })
}
release {
dependsOn(provider { gradle.includedBuild("cli-tools").task(":release") })
dependsOn(provider { gradle.includedBuild("command-line-tools").task(":release") })
dependsOn(provider { gradle.includedBuild("tools").task(":release") })
finalizedBy(currentContributionData)
}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tasks {
workingDir(mainNpmProjectDir)
commandLine("npm", "publish")
}
publish {
val publish by creating {
dependsOn(jsPublish)
mustRunAfter(check)
}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pluginManagement {
}
}

rootProject.name = "cli-tools"
rootProject.name = "command-line-tools"

include("digger-cli")
include("tagger-cli")
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tasks {
check {
dependsOn(confirmTaggerCanRun)
}
publish {
val publish by creating {
dependsOn(jsPublish)
mustRunAfter(check)
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
rootProject.name = "ze-great-tools"
includeBuild("tools-plugins")
includeBuild("tools")
includeBuild("cli-tools")
includeBuild("command-line-tools")

develocity {
buildScan {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ plugins {
id("com.zegreatrob.tools.plugins.lint")
id("com.zegreatrob.tools.plugins.versioning")
id("org.jetbrains.kotlin.multiplatform")
id("com.zegreatrob.tools.plugins.publish")
signing
}

kotlin {
Expand All @@ -20,21 +18,3 @@ kotlin {
allWarningsAsErrors = true
}
}

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
@@ -1,7 +1,7 @@
package com.zegreatrob.tools.plugins

import java.nio.charset.Charset
import java.util.Base64
import java.util.*

plugins {
`maven-publish`
Expand All @@ -12,8 +12,6 @@ repositories {
mavenCentral()
}

group = "com.zegreatrob.tools"

afterEvaluate {
publishing.publications.withType<MavenPublication>().forEach {
with(it) {
Expand Down Expand Up @@ -62,4 +60,19 @@ 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>())
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.zegreatrob.tools.plugins

import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.gradle.kotlin.dsl.repositories
import org.gradle.kotlin.dsl.withType

plugins {
id("com.github.ben-manes.versions")
Expand All @@ -12,6 +10,8 @@ repositories {
mavenCentral()
}

group = "com.zegreatrob.tools"

tasks {
withType<DependencyUpdatesTask> {
checkForGradleUpdate = true
Expand Down
1 change: 1 addition & 0 deletions tools/digger-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

group = "com.zegreatrob.tools"
Expand Down
1 change: 1 addition & 0 deletions tools/digger-json/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

Expand Down
1 change: 1 addition & 0 deletions tools/digger-model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

group = "com.zegreatrob.tools"
Expand Down
1 change: 1 addition & 0 deletions tools/git-adapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

group = "com.zegreatrob.tools"
Expand Down
1 change: 1 addition & 0 deletions tools/tagger-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

group = "com.zegreatrob.tools"
Expand Down

0 comments on commit 995752d

Please sign in to comment.