novoda / gradle-build-properties-plugin

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

Deprecate include properties files #45

Closed mr-archano closed 6 years ago

mr-archano commented 6 years ago

Scope of the PR

Follow-up PR to improve/rearchitect the fallback support for properties files. When using a properties file we could specify an include value pointing to which properties file to use as fallback.This way we could for instance share a common set of properties across different properties sets via single file, while allowing to override and add properties as needed.

Considerations/Implementation Details

The include functionality has been pulled out FilePropertiesEntries into DefaultEntriesFactory where we would instead build an EntriesChain to achieve the same. In order to discourage the use of this functionality without breaking things a warning log has been added in order to notify the users of the new option.