Skip to content

Commit

Permalink
fix: Publish includedBuilds too
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Jun 26, 2024
1 parent 6e5dbb8 commit bb12f76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ task publishToMavenLocal {
dependsOn gradle.includedBuild("compiling").task(':publishToMavenLocal')
}

task publish {
dependsOn gradle.includedBuild("compiling").task(':publish')
}

apply plugin: 'eclipse'
eclipse.project.name = "root"

Expand Down
6 changes: 6 additions & 0 deletions compiling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ task publishToMavenLocal {
subprojects.each { subproject ->
dependsOn subproject.tasks.named("publishToMavenLocal")
}
}

task publish {
subprojects.each { subproject ->
dependsOn subproject.tasks.named("publish")
}
}

0 comments on commit bb12f76

Please sign in to comment.