Cannot get gradle to publish a module with dependency exclusions to Ivy

(Shane Frueh) #1

Gradle version 2.3

dependencies {
    compile ('org.hello:world:1.0.0'){
        exclude group: 'org.exclude', module: 'me'

Expecting this when published

    <dependency org="org.hello" name="world" rev="1.0.0">
        <exclude org="org.exclude" name="me"/>

Got this when published, instead.

    <dependency org="org.hello" name="world" rev="1.0.0"/>

Generation of ivy descriptors with excluded transitive dependencies
(Benjamin Muschko) #2

Could you please post your question on the new forum?

Are you using the Ivy Publishing plugin?