I’ve encountered a problem with maven-publish and a rather large multi-project build. The observed behavior is that no custom publication task is added to the graph, thus publishToMavenLocal is always marked as up to date. This is the output I get when invoking ‘gradle tasks --all’
Publishing tasks ---------------- publish - Publishes all publications produced by this project. publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache.
The build files that cause trouble are
What’s interesting is that I have a very similar setup on another project
where the publication tasks work perfectly well. The main difference is that the second project contains a single child module at the moment. Any pointers to get the griffon build to work are greatly appreciated.