Ignore parent gradle project filename options by default (can be disabled) #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#39
This PR changes the behavior of project to ignore filename options specified for this plugin in the parent project's gradle properties by default.
For example, if
dotenv.filename=.env.staging
is set in the root project, this setting will automatically apply to sub-projects as well. While this follows the correct resolution order of Gradle Properties, it has been a source of confusion for users working with dotenv.To disable this default behavior, add
dotenv.filename.ignore.parent=false
to the gradle.properties in the root project.A same update has been applied to the specification of template file names.
To disable this default behavior, add
dotenv.template.filename.ignore.parent=false
to the gradle.properties in the root project.