Gradle: do not fail project compilation if gradle config was not imported yet

This commit is contained in:
Vladislav.Soroka
2017-04-14 14:45:20 +03:00
parent 7d2b7c2f8b
commit 408602b96d
@@ -193,7 +193,7 @@ public class GradleResourceCompilerConfigurationGenerator {
final ExternalProject externalRootProject = lazyExternalProjectMap.get(gradleProjectPath);
if (externalRootProject == null) {
context.addMessage(CompilerMessageCategory.ERROR,
context.addMessage(CompilerMessageCategory.WARNING,
String.format("Unable to make the module: %s, related gradle configuration was not found. " +
"Please, re-import the Gradle project and try again.",
module.getName()), VfsUtilCore.pathToUrl(gradleProjectPath), -1, -1);