This plugin provides for local properties to override gradle.properties.
By creating a file named gradle.local.properties
and updating properties these properties can be modified for local development.
A warning will be logged when gradle.local.properties
is found and contains any properties.
A warning will be logged if the property in gradle.local.properties
is a new property.
Add the following to your build.gradle file:
plugins {
id 'io.jumpco.open.gradle.local-properties' version '1.0.1'
}
See gradle plugin page for other versions.
Create a file name gradle.local.properties
within a project folder in order to override properties.
Ideally this file is added to .gitignore
and not committed to your repository.
The plugin will log a warning when it is overriding any properties and it will log a warning when it is encounters a property that is unique to gradle.local.properties
.