Hello, I got a particular situation, just as I like 🙂
We got a projects structure like
root
( modules )
+ gradle
( plugins )
+ publish
- libraries ( plugin )
- plugins ( plugin )
The goal is to have
// root
plugins {
id("publish-libraries")
}
// gradle
plugins {
id("publish-plugins")
}
The problem is that if I apply
publish-plugins
to
gradle
project or one of its module , root does not find the plugins in
gradle
😕
org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/davide/Dev/Android/Workspace/xxx/build.gradle.kts' line: 28
Plugin [id: 'my-plugin'] was not found in any of the following sources:
( The
gradle
project builds correctly though )