I have the following order in my settings.gradle file →
includeBuild ‘…/gradle-plugin-htmlcompiler’
includeBuild ‘…/http-templating’
includeBuild ‘…/http-shared’
includeBuild ‘…/…/core/core-util’
includeBuild ‘…/htmlcompiler’
I get the error
* What went wrong:
A problem occurred configuring project ':http-templating'.
> Could not resolve all artifacts for configuration ':http-templating:classpath'.
> Could not find org.webpieces:core-util:.
Required by:
project :http-templating > project :gradle-plugin-htmlcompiler
> Could not find org.webpieces:htmlcompiler:.
Required by:
project :http-templating > project :gradle-plugin-htmlcompiler
By the way, building the http-templating project works JUST FINE but for some reason, this project who also brings in the newly built plugin and another project that brings in that plugin is not working.
Anyways, I modify settings.gradle to this →
includeBuild ‘…/http-templating’
includeBuild ‘…/gradle-plugin-htmlcompiler’
includeBuild ‘…/http-shared’
includeBuild ‘…/…/core/core-util’
includeBuild ‘…/htmlcompiler’
and now I get this error
* What went wrong:
Plugin [id: 'org.webpieces.templatecompiler', version: '2.1-developer'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'org.webpieces.templatecompiler:org.webpieces.templatecompiler.gradle.plugin:2.1-developer')
Searched in the following repositories:
Gradle Central Plugin Repository
For some reason, the order of the includeBuild statements matters here. I have not been able to get my composite build working yet as I guess it is a bit more complex than the sample plugin build.