If you have created multi-module projects with Kotlin/JS before, you may have noticed that resources from dependent modules are not automatically imported.
We are releasing a Gradle plugin that fixes this:
• Each module can declare a resource dependency on another local module, whether they are images, JS configuration files, CSS files…
• Resources are published via the
maven-publish
plugin, so you can declare a resource dependency on modules from MavenLocal, MavenCentral, etc
• The plugin is compatible with build cache, configuration cache, and configuration-on-demand, to ensure it never slows down your build!
Using this plugin, library authors can expose default configuration files, and complex projects can put resources only in the relevant modules.
Learn more • #opensavvy