mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-175313 Gradle: running classes using Application Run Configuration fails with error in the initialization script
This commit is contained in:
+1
@@ -132,6 +132,7 @@ public class GradleApplicationEnvironmentProvider implements GradleExecutionEnvi
|
||||
if (sourceSetName == null) return null;
|
||||
|
||||
String workingDir = ProgramParametersUtil.getWorkingDir(applicationConfiguration, project, module);
|
||||
workingDir = workingDir == null ? null : FileUtil.toSystemIndependentName(workingDir);
|
||||
@Language("Groovy")
|
||||
String initScript = "projectsEvaluated {\n" +
|
||||
" def project = rootProject.findProject('" + gradlePath + "')\n" +
|
||||
|
||||
Reference in New Issue
Block a user