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

Maven Repository - Cannot download dependency using gradle #37

Open
gea-rshin opened this issue Aug 30, 2024 · 1 comment
Open

Maven Repository - Cannot download dependency using gradle #37

gea-rshin opened this issue Aug 30, 2024 · 1 comment

Comments

@gea-rshin
Copy link

Issue

Adding the dependency in an Android project's build.gradle file fails to download the this library's artifact/binary. It seems that Maven Repository is linking to repo.spring.io/plugins-release, which requires authentication and cannot be accessed anonymously.

Request

Would it be possible to adjust the configurations in mvrepository.com for this library so that the binaries are not hosted on repo.spring.io ???

Related information

Cannot get dependency from Maven Repository

image

Coordinates for the artifact

https://repo.spring.io/plugins-release/uk/co/alt236/bluetooth-le-library-android/1.0.0/bluetooth-le-library-android-1.0.0.jar

Bintray has been sunset

image

image

@alt236
Copy link
Owner

alt236 commented Dec 5, 2024

I'm sorry this too so long to sort out. I've now published the library to Maven Central.

Change the dependency declaration

There is two breaking changes:

  1. The maven dependency has been changed to implementation 'dev.alt236:bluetooth-le-library-android:2.0.0'
  2. As of version 2.0.0, the library package name has been changed from uk.co.alt236.bluetoothlelib.* to dev.alt236.bluetoothlelib.*. That means you'll need to edit your imports in your code (i.e replace the uk.co.alt236 but with dev.alt236. Nothing functional has changed.

The changes above are permanent, so you'll only need to do them once.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants