amadeus4dev / amadeus-java

Java library for the Amadeus Self-Service travel APIs
https://developers.amadeus.com/
MIT License
87 stars 69 forks source link

Remove the duplicate version #15

Closed anthonyroux closed 2 years ago

anthonyroux commented 6 years ago

Description

We are managing the version at 2 different places: 1 in the Amadeus constant file 1 in the gradle file

It's painful when releasing a new version to update both (+ the unit test)

spirosbatzio commented 3 years ago

Hey, I think i got a solution for this duplication issue. Already created an new branch into my forked repo using a FileInputSteam in order to get version name from gradle.properties file.

I can create a pull request

anthonyroux commented 3 years ago

Hey @SealSoft that would be great! Please open the PR and our team will do the review :).

Thanks a lot!

jabrena commented 2 years ago

Added a solution at pipeline level. The solution is working with no change in the library. https://github.com/amadeus4dev/amadeus-java/pull/154

jabrena commented 2 years ago

Fixed this old issue: https://github.com/amadeus4dev/amadeus-java/pull/154