zyxist / chainsaw

Gradle plugin: adds support for building Java 9 modules.
Apache License 2.0
71 stars 4 forks source link

since adding chainsaw my multi-project build no longer builds in order #34

Open SingingBush opened 6 years ago

SingingBush commented 6 years ago

my gradle build consists of three projects. Project A, is dependency of Project B and Project B is a depenency to my root project. I used to be able to just run ./gradlew build and have everything build but since introducing chainsaw and setting them up as Java9 modules I am forced to compile each project individually as trying the build everything from the root package results in me getting a module not found error when the build goes through the module-info.java of the root project.

florian-beetz commented 6 years ago

I also have this problem with Gradle 4.8 and chainsaw 0.3.1. Apparently, chainsaw does not support multi-module builds from what I've read here in @zyxist's example repo.

Explicitly declaring compileJava.dependsOn(":dependency:build") works, however.