novoda / gradle-build-properties-plugin

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

Add utility to create `Entries` from project properties #20

Closed mr-archano closed 7 years ago

mr-archano commented 7 years ago

In a couple of projects using this plugin we already have scripted another implementation of Entries backed by project or system properties. This is particularly handy to pass parameters via cli to override values defined in properties files.

mr-archano commented 7 years ago

Thanks to the change in #18 this issue is obsolete. To read properties from a project it would be enough to declare the build properties set as follows:

buildProperties {
    prj {
        from project.properties
    }
}

This is probably something we want to add as recipe in the new readme/docs as part of #21 (cc @ataulm)