Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nbirillo authored and anchouls committed Dec 11, 2023
1 parent aac9d7d commit 4c72002
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ val spaceUsername = getLocalProperty("spaceUsername")
val spacePassword = getLocalProperty("spacePassword")

configure(subprojects) {
apply(plugin = "maven-publish")

val subprojectName = this.name

// We don't need to publish the root ij project
if (subprojectName == "ij") {
return@configure
}

apply(plugin = "maven-publish")
publishing {
publications {
register<MavenPublication>("maven") {
Expand Down

0 comments on commit 4c72002

Please sign in to comment.