This happens when someone sets, for example, org.gradle.jvmargs=-Xmx4g. This has the unfortunate effect of replacing the entire jvmargs string applied by Gradle, instead of only overriding the heap size, but leaving everything else alone.
Until there's a fix in Gradle core (which hasn't been scheduled) I think it would be great to identify & expose in this plugin.
Basically, notify when this occurs: https://github.com/gradle/gradle/issues/19750
This happens when someone sets, for example,
org.gradle.jvmargs=-Xmx4g
. This has the unfortunate effect of replacing the entire jvmargs string applied by Gradle, instead of only overriding the heap size, but leaving everything else alone.Until there's a fix in Gradle core (which hasn't been scheduled) I think it would be great to identify & expose in this plugin.