How to use latest.release and latest.integration in build workflow but still know the which version was used?

(kavin kankeshwar) #1

I would like to use latest.release and latest.integration, But the issue/concern i have is how can i track reproducibility of the build ? Just having created pom.xml for Artifactory is good enough but that means downloading jar and reading dependency from it and then using that version to rebuild jar with dependencies or should there be something which maybe updates build.gradle so we know in Git which version was used when official release had happened ?

Also is there way to resolve latest.release and get actual version numbers to log it ?