[GRADLE-972] Gradle doesn't put a dependency section in ivy.xml Created: 10/Jun/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 0.9-rc-1

Type: Bug
Reporter: Michael Parmeley Assignee: Hans Dockter
Resolution: Fixed Votes: 0

Issue Links:
Duplicate
Duplicates GRADLE-924 After build, the generated ivy.xml an... Resolved

 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.



 Comments   
Comment by Hans Dockter [ 11/Jun/10 ]

Thanks for reporting. This is fixed in trunk.

Generated at Wed Jun 30 11:43:36 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.