Gradle way to publish in art

I have created a gradle layout repository in Artifactory. With artifact path templates like

[org]/[module]/[baseRev](-[folderItegRev])/[module]-[baseRev](-[fileItegRev])(-[classifier]).[ext]`

      

And the characteristic descriptor path pattern as

[org]/[module]/ivy-[baseRev](-[fileItegRev]).xml

      

The question is how to resolve the last fileItegRev

one belongingbaseRev

For example, suppose I am placing a jar file in a path org/module/1.0-20170411/module-1.0-20170411.jar

that fileItegRev/folderItegRev

is the current date / timestamp. Now I need a path, for example org/module/1.0-latest

to resolve the last jar file owned by 1.0 baseRev 1.0

.

I'm a beginner, so bear with me if I'm free on terms.

+3


source to share


1 answer


I ended up getting support for dynamic versions in gradle.



0


source







All Articles