Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-972

Gradle doesn't put a dependency section in ivy.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9-rc-1

      Description

      This is a regression failure between 0.9 preview 1 and preview 3.

      Preview 3 doesn't add a dependency section to ivy.xml based on the compile dependency configuration.

      For example with these dependencies:

      dependencies {
      compile (
      [group: 'log4j', name: 'log4j', version: 'latest.release', transitive: false],
      [group: 'javax.xml.bind', name: 'jaxb-api', version: '2.1'],
      [group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.1.12'],
      [group: 'com.sun.xml.bind', name: 'jaxb-xjc', version: '2.1.12'],
      [group: 'com.sun.xml.bind', name: 'jaxb1-impl', version: '2.0.3']
      )
      }

      0.9 Preview 1 produces a ivy.xml that contained this dependencies tag:

      <dependencies>
      		<dependency org="log4j" name="log4j" rev="latest.release" transitive="false" conf="compile->default"/>
      		<dependency org="javax.xml.bind" name="jaxb-api" rev="2.1" conf="compile->default"/>
      		<dependency org="com.sun.xml.bind" name="jaxb-impl" rev="2.1.12" conf="compile->default"/>
      		<dependency org="com.sun.xml.bind" name="jaxb-xjc" rev="2.1.12" conf="compile->default"/>
      		<dependency org="com.sun.xml.bind" name="jaxb1-impl" rev="2.0.3" conf="compile->default"/>
      	</dependencies>
      
      

      The same build.gradle file with 0.9 Preview 3 results in a ivy.xml file that does not have this dependencies tag.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hans_d Hans Dockter
              Reporter:
              mjparme Michael Parmeley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: