Skip to content

Maven Repository - Cannot download dependency using gradle #37

Open

Description

@gea-rshin

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

Activity

  1. alt236 commented on Dec 5, 2024

    @alt236
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions