-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Description
Gradle 8.1 will add and jvmArguments property to JavaExecSpec. We should be able to use this new property instead of our current convention mapping:
Lines 177 to 182 in 57a4eb8
| run.getConventionMapping().map("jvmArgs", () -> { | |
| if (project.hasProperty("applicationDefaultJvmArgs")) { | |
| return project.property("applicationDefaultJvmArgs"); | |
| } | |
| return Collections.emptyList(); | |
| }); |
Unless we wait until we've raised our Gradle baseline to 8.1, we'll have to check the version of Gradle that we're running against or perhaps use reflection to maintain compatibility with older versions of Gradle.
6hundreds and alpeshnikumbh812
Metadata
Metadata
Assignees
Labels
type: taskA general taskA general task