According to documentation is not possible to call tasks of composite build directly:
https://docs.gradle.org/current/userguide/composite_builds.html#composite_build_executing_tasks
There is not (yet) any means to directly execute a task from an included build via the command line.
But why?
If I have includeBuild("plugin")
Why I cannot simply call for example gradlew :plugin:publishToMavenLocal
as for any other model?
I need one simple thing. To have a project where will be Gradle plugin as module plugin
and several samples project which will directly use plugin
module as GradlePlugin. But I still need to publish plugin
to artifactory as a normal plugin.