novoda / gradle-build-properties-plugin

Keep your secrets secret. External build properties support for your Gradle scripts.
Other
110 stars 13 forks source link

Use Gradle composite builds in sample #64

Closed mr-archano closed 6 years ago

mr-archano commented 6 years ago

Until now we have used a "trick" to make the sample make use of the locally compiled plugin instead of a version deployed to JCenter, making the buildSrc of the sample project to use the sourceset from plugin module.

A neater way to achieve the same is to use composite builds: the sample project will include the root project and use the plugin module to resolve the com.novoda:gradle-build-properties-plugin:* dependency. The major advantage is that we have no need to keep plugin/build.gradle in sync with sample/buildSrc/build.gradle.