Hey,
I’m trying to build a Gradle plugin and would like to access the Project object of another module that the current Project depends on.
Example:
plugins {
id 'myPlugin'
}
dependencies {
implementation project(':common')
}
In the plugin code, I want to access the “common” project’s tasks and metadata programmatically (everything that would be available via the Project object of that module).
Is it possible to get the Project object of a dependency via the Gradle API? I haven’t found a way, yet.
Thanks and regards,
Tom