Reputation: 1295
I want to use this library
implementation('com.ubudu.beacon:ubudu-ble-scanner-sdk:1.6.2@aar') {
transitive = true
}
But I can't get it I don't know why, and when I access the link it works fine.
This is my gradle file of the project :
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Upvotes: 1
Views: 219
Reputation: 3909
Make sure to add
repositories {
mavenCentral()
maven { url 'http://nexus.ubudu.com:8081/nexus/content/groups/public/'}
}
in your build.gradle
.
Upvotes: 1
Reputation: 16077
add this line to your Root level build.gradle
allprojects {
repositories {
mavenCentral()
maven { url 'http://nexus.ubudu.com:8081/nexus/content/groups/public/' }
}
}
Upvotes: 1