gradle: set idea.active system property for gradle import process

This commit is contained in:
Vladislav.Soroka
2015-07-21 16:26:28 +03:00
parent 6bb3955d01
commit 320eef2a86
@@ -30,6 +30,7 @@ class JetGradlePlugin implements Plugin<Project> {
}
try {
System.setProperty("idea.active", "true");
String[] paths = ${EXTENSIONS_JARS_PATH}
URL[] urls = paths.collect{ new File(it).toURI().toURL() }
URLClassLoader classLoader = new URLClassLoader(urls, getClass().classLoader)