Support for custom status in ivy


(Abhishek Nath) #1

I see that we have design doc to support custom status in ivy - https://github.com/gradle/gradle/blob/master/design-docs/custom-ivy-status.md

Do we know the release timeline for this? 1.8 or 1.9? We are desperately waiting for this to be resolved and do native Gradle DM.


(Peter Niederwieser) #2

It’s going to ship with 1.8.


(Abhishek Nath) #3

Awesome. Thanks Peter.


(Abhishek Nath) #4

Quick question:

Can you give any early estimate of when it will be available in nightly build? I would like to continue working on integration with nightly builds and be ready by full release.


(Peter Niederwieser) #5

It’s already available. Try :

componentMetadata {
    eachComponent { details ->
        println details.id.group
        println details.id.name
        println details.id.version
        println details.status
        // set custom status scheme
        details.statusScheme = ["bronze", "silver", "gold"]
    }
}

It’s an incubating feature, and API may still change.