Skip to content

Install the SDK

How to install the SDK

1. Dependencies

Add inside project's 'settings.gradle'

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
    repositories {
        google()
        mavenCentral()
        jcenter()

        maven {
            url "https://artefacts2.skobbler.net/repository/mvn_ivi/"
            credentials(PasswordCredentials){
                username nexusUsername
                password nexusPassword
            }
        }
    }
}

2. Access to artifacts and samples

Add inside project's 'gradle.properties' login credentials to access Nexus Repository

In order to access the libraries and samples in the Nexus Repository, you should request the credentials here.

1
2
3
# Nexus Artifactory Credentials
nexusUsername=
nexusPassword=