Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore parent gradle project filename options by default (can be disabled) #62

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

uzzu
Copy link
Owner

@uzzu uzzu commented Nov 26, 2023

#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.

…ified for this plugin in the parent project's gradle properties; This changes can be disabled by gradle.properties in the root project
@uzzu uzzu merged commit 46f7722 into main Nov 26, 2023
2 checks passed
@uzzu uzzu deleted the ignore-parent-filenames branch November 26, 2023 16:58
This was referenced Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant