Skip to content

Commit

Permalink
fix: configuration issues preventing proper publishing of Maven Centr…
Browse files Browse the repository at this point in the history
…al and Gradle plugin artifacts (#113)

Signed-off-by: Nathan Klick <nathan@swirldslabs.com>
  • Loading branch information
nathanklick authored Nov 13, 2023
1 parent 97ec5f1 commit 1bfd67b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ plugins {
id("com.hedera.pbj.spotless-conventions")
id("com.hedera.pbj.spotless-java-conventions")
id("com.hedera.pbj.spotless-kotlin-conventions")
id("com.hedera.pbj.maven-publish")
}

group = "com.hedera.pbj"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ tasks.generateGrammarSource {

// Do not generate Java Doc for generated antlr grammar
tasks.withType<Javadoc> { excludes.add("com/hedera/pbj/compiler/impl/grammar/**") }

tasks.register("release-maven-central") {
group = "release"
dependsOn(tasks.named("publishPlugins"))
}

tasks.register("release-maven-central-snapshot") { group = "release" }
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
id("java-library")
id("com.hedera.pbj.conventions")
id("com.google.protobuf") // protobuf plugin is only used for tests
id("com.hedera.pbj.maven-publish")
}

tasks.generateGrammarSource {
Expand Down

0 comments on commit 1bfd67b

Please sign in to comment.