Skip to content

Commit

Permalink
More info for meee
Browse files Browse the repository at this point in the history
Signed-off-by: l-1squared <[email protected]>
  • Loading branch information
l-1squared committed Nov 21, 2023
1 parent 81afa85 commit f9fc673
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jgiven-maven-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ tasks.register('generateMavenPlugin', CrossPlatformExec) {
buildCommand 'mvn', '-nsu', '-U', '-f', 'build/maven/pom.xml', 'plugin:descriptor', '--batch-mode',
'-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
}
println("Env": env)

generateMavenPlugin.configure {
List<Task> thisProjectsPublishTasks = getTasks().withType(PublishToMavenLocal).stream().collect(Collectors.toList())
Expand All @@ -58,7 +59,7 @@ generateMavenPlugin.configure {
.collect(Collectors.toList())
)
onlyIf {
logger.debug("taskGraph: " + gradle.taskGraph.getAllTasks().stream().map(Task::getName).collect(Collectors.toList()))
logger.warn("taskGraph: " + gradle.taskGraph.getAllTasks().stream().map(Task::getName).collect(Collectors.toList()))
gradle.taskGraph.getAllTasks().stream().anyMatch(thisProjectsPublishTasks::contains)
}
}
Expand Down

0 comments on commit f9fc673

Please sign in to comment.