Gradle plugin that adds dependencies and example project in the same project
I want to create in the same project so that my IDE allows me to code them all, the following subprojects:
- java package
- a gradle that adds a dependency on a java project (artifact)
- a gradle sample that this plugin uses
The problem is that the sample to be evaluated will have to use a plugin, then the plugin will add the dependency.
BUT in order to compile the java package I need all the subprojects to evaluate ... including the sample. And the sample cannot be evaluated as it needs a java dependency ...
How can i do this?
I still didn't find all three subprojects in one project. I tried setting up on demand, but the sample buildScript is still evaluating. My only job is to remove the sample subproject from the project.
+3
source to share
No one has answered this question yet
Check out similar questions: