Gradle plugin to deprecate jvmargs box in settings window

Answered

Why is this being deprecated in gradle settings?
I use this for things I specifically don't want in the gradle.properties file, to avoid them being added to VCS.

I also put private tokens here for example, which I removed for the purpose of the screencap.

0
3 comments

You can use the local properties file so that it's not shared via the VCS. The setting is deprecated for consistency so that running Gradle in the IDE works the same as in the command line.

0
Avatar
Permanently deleted user

I see. The local properties file and environment is shared between all projects of the same user so that is not a suitable replacement for me. Perhaps a warning that this box doesn't apply when running gradle from the command line can be added next to the box instead of removing it in the future?

0

You can have local.properties file inside the project directory.

0

Please sign in to leave a comment.