weliem / blessed-android

BLESSED, a Bluetooth Low Energy (BLE) library for Android
MIT License
557 stars 120 forks source link

How to install? #92

Closed RanaEnnabah closed 3 years ago

RanaEnnabah commented 3 years ago

I currently install the lib using:

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'com.github.weliem:blessed-android:2.0.5'
    //...
}

.. however, I think there's a better way to install it from jcenter (or any other source) instead of GitHub. Right?

Thanks :)

weliem commented 3 years ago

What you are doing looks fine to me. The library is hosted on Jitpack indeed

So I don't understand your problem. Please elaborate