I have a couple of questions regarding Gradle conventions and best practice recommendations.
Given the following multi-project structure where projects
project-java-* contain Java sources and
project-NO-java-* do not:
root-project: -project-java-1 ... -project-java-X -project-NO-java-1 ... -project-NO-java-Y
Is it all right to apply the
javaplugin at the root-project level or should I shortlist the
project-java-*projects and apply the plugin only to them? I assume the same behaviour requirements would apply to custom plugins?
Suppose I applied a custom plugin only to a sub-project. Should the plugin publish its tasks so that they could be visible and executed at the root project level?