gradle tooling extension jars extract to a separate library with 'provided' scope
authornik <Nikolay.Chashnikov@jetbrains.com>
Tue, 23 Jun 2015 12:54:33 +0000 (15:54 +0300)
committernik <Nikolay.Chashnikov@jetbrains.com>
Tue, 23 Jun 2015 12:55:34 +0000 (15:55 +0300)
plugins/gradle/tooling-extension-impl/gradle-tooling-extension-impl.iml

index b8bb34c01e223d7d83b8f0c3ac961b588ede401e..3b81a60dbd947e40d0e438aa8c68ae57a804eaf0 100644 (file)
           <root url="jar://$MODULE_DIR$/../lib/gradle-base-services-2.2.jar!/" />
           <root url="jar://$MODULE_DIR$/../lib/gradle-base-services-groovy-2.2.jar!/" />
           <root url="jar://$MODULE_DIR$/../lib/gradle-native-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-build-init-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-plugins-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-language-jvm-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-ide-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-language-java-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-platform-base-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-platform-jvm-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-scala-2.2.jar!/" />
-          <root url="jar://$MODULE_DIR$/lib/gradle-reporting-2.2.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES>
-          <root url="jar://$MODULE_DIR$/../lib/gradle-2.2-src.zip!/gradle-2.2/subprojects/tooling-api/src/main/java" />
           <root url="jar://$MODULE_DIR$/../lib/gradle-2.2-src.zip!/gradle-2.2/subprojects/core/src/main/groovy" />
           <root url="jar://$MODULE_DIR$/../lib/gradle-2.2-src.zip!/gradle-2.2/subprojects/messaging/src/main/java" />
           <root url="jar://$MODULE_DIR$/../lib/gradle-2.2-src.zip!/gradle-2.2/subprojects/wrapper/src/main/java" />
     </orderEntry>
     <orderEntry type="library" name="Groovy" level="project" />
     <orderEntry type="library" name="gson" level="project" />
+    <orderEntry type="module-library" scope="PROVIDED">
+      <library name="GradleToolingExtension">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-build-init-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-ide-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-language-java-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-language-jvm-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-platform-base-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-platform-jvm-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-plugins-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../tooling-extension-api/lib/gradle-scala-2.2.jar!/" />
+          <root url="jar://$MODULE_DIR$/lib/gradle-reporting-2.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../lib/gradle-2.2-src.zip!/gradle-2.2/subprojects/tooling-api/src/main/java" />
+        </SOURCES>
+      </library>
+    </orderEntry>
   </component>
 </module>
\ No newline at end of file