Closed torresc24 closed 2 years ago
I tried to publish the new artefact locally using
./gradlew publishMavenLocal
I'm able to get the binaries correctly. But there is a problem with the.pom
a dependency is declared asunspecified
and it prevents the dependencies resolution. Steps to reproduce:
- Use
./gradlew publishMavenLocal
to generate the 1.3.1 binairies- open
amadeus-demo
project- change Amadeus sdk to point to
1.3.1
version.- try to launch
On my machine I get the error that there is an unspecified version of a library used in the sdk. You can check that by going into your local .m2 repository and read the amadeus-android-sdk
.pom
file.Something else, you're using tabs indent, and the project use 4 spaces indent. You can see clearly the indentation differences on github changed files view.
The issue with the unspecified dependency cames from the filetree dependency. Through https://developer.android.com/studio/build/dependencies is local binary dependency used only geting the binaries. I put a condition to not have in consideration the fileTree when is generating the pom.
The travis.yml file was removed as it will no longer be used for the integration service. A pull-request will be created with changes for using Github Actions.
Publishing library to MavenCentral
Changes for this pull request
Publish Gradle and remove travis file
Checklist
Update project build gradle file Update publish gradle file Update gradle.properties file