mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Gradle: vmOptions provisioning fix
This commit is contained in:
+2
-1
@@ -87,7 +87,8 @@ public class GradleExecutionHelper {
|
||||
@Nullable final String vmOptions)
|
||||
{
|
||||
BuildLauncher result = connection.newBuild();
|
||||
prepare(result, id, settings, listener, ContainerUtil.newArrayList(vmOptions == null ? "" : vmOptions.trim()));
|
||||
List<String> extraJvmArgs = vmOptions == null ? ContainerUtil.<String>emptyList() : ContainerUtil.newArrayList(vmOptions.trim());
|
||||
prepare(result, id, settings, listener, extraJvmArgs);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user