plugins {
    id 'java'
    id 'ivy-publish'
}

// tag::customize-identity[]
publishing {
// end::customize-identity[]
    repositories {
        ivy {
            url = "$buildDir/repo"
        }
    }
// tag::customize-identity[]
    publications {
        ivy(IvyPublication) {
            organisation = 'org.gradle.sample'
            module = 'project1-sample'
            revision = '1.1'
            descriptor.status = 'milestone'
            descriptor.branch = 'testing'
            descriptor.extraInfo 'http://my.namespace', 'myElement', 'Some value'

            from components.java
        }
    }
}
// end::customize-identity[]
