Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

JetGradle + Ivy: useless dependencies on source arifacts

$
0
0

I switched to Gradle and build a local Ivy repository (from Ivy RoundUp).

Using JetGradle it generates a dependency tree. Unfortunately it contains all javadoc and source atrifacts, too:-)

 

I.E. my Ivy.xml contains:

 

<info organisation="org.apache.xerces" module="xerces" revision="2.10.0" ...>

...

with:
    <publications>
        <artifact ivyde:source="source" name="xercesImpl" conf="impl"/>
        <artifact ivyde:source="source" name="serializer" conf="serializer"/>
        <artifact name="source" type="source" ext="zip"/>
        <artifact name="javadoc" type="javadoc" ext="zip"/>
        <artifact name="javadoc-other" type="javadoc" ext="zip"/>
        <artifact name="javadoc-xerces2" type="javadoc" ext="zip"/>
        <artifact name="javadoc-xni" type="javadoc" ext="zip"/>
        <artifact name="javadoc-xs" type="javadoc" ext="zip"/>
    </publications>

 

thus JetGradle generates dependencies like:

 

xercesImpl-2.10.0

serializer-2.10.0

source-2.10.0

javadoc-2.10.0

javadoc-other-2.10.0

...

 

Even worse all of them are treated as <CLASS> libraries :-(

Instead of creating additional IDE-libraries <JAVADOC> and <SOURCE> entries should be created.

 

Is it a problem with JetGradle or is something wrong with my Gradle or Ivy definitions (I'm new to both ...)

 

I'm using 12.1.4 ultimate with gradle-1.3

 

Regards, Dieter.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>