Skip to content

Commit

Permalink
fix: Fix Gradle accidentally publishing the implicitly created "modul…
Browse files Browse the repository at this point in the history
…es" module
  • Loading branch information
fussel178 committed Feb 24, 2022
1 parent 48d6d38 commit 1cf9d41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ allprojects {
}
}

// ignore "modules" module
gradle.taskGraph.whenReady {
gradle.taskGraph.allTasks.each {
if(it.project.name == "modules") {
it.onlyIf {false}
}
}
}

subprojects {
apply plugin: 'java'
apply plugin: 'application'
Expand Down

0 comments on commit 1cf9d41

Please sign in to comment.