Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong version in toml file: "android-core" #605

Closed
yogurtearl opened this issue Jul 19, 2024 · 2 comments · Fixed by #606
Closed

Wrong version in toml file: "android-core" #605

yogurtearl opened this issue Jul 19, 2024 · 2 comments · Fixed by #606
Labels
released triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@yogurtearl
Copy link

yogurtearl commented Jul 19, 2024

Problem:

Bad metadata in the published pom file:
https://repo1.maven.org/maven2/com/google/maps/android/maps-compose-utils/6.1.0/maps-compose-utils-6.1.0.pom

Actual

<dependency>
  <groupId>androidx.core</groupId>
  <artifactId>core-ktx</artifactId>
  <version>android-core</version>
  <scope>runtime</scope>
</dependency>

Expected

<dependency>
  <groupId>androidx.core</groupId>
  <artifactId>core-ktx</artifactId>
  <version>1.13.1</version>
  <scope>runtime</scope>
</dependency>

Cause:

This line is wrong:

androidx-core = { module = "androidx.core:core-ktx", version = "android-core" }

It should be version.ref not version

Something like

 androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } 

with this at the top of the file in the [versions] section.

androidx-core = "1.13.1"
@yogurtearl yogurtearl added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jul 19, 2024
@kikoso kikoso mentioned this issue Jul 25, 2024
4 tasks
@kikoso
Copy link
Collaborator

kikoso commented Jul 25, 2024

Thanks for reporting this @yogurtearl . This PR will fix the problem.

@googlemaps-bot
Copy link
Contributor

🎉 This issue has been resolved in version 6.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
released triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants