My expectation is that when I run a build on project b, it will first try to run generateArtifact + generateJar from project a, then get the outputted jar for use in project b, however I just get a “package does not exist” error in :project-b:compileJava. Based on the output, it looks like it is not trying to run any tasks in project-a, almost like it doesn’t recognize the dependency exists
Says to depend on the “default” configuration of “project-a” but you are putting the artifact in the “archives” configuration. I believe you’ll want to do something like
No, I think “default” extendsFrom the “runtime” configuration in a java project. It points to the class files rather than the jar file in the “archives” configuration. So it’s possible to compile dependent projects (and execute tests) without building jars