Skip to main content

Importing FusedLocation SDK

To use the FusedLocation SDK, register the Maven repository and add the SDK dependency to the app module.

Registering the Maven Repository​

Add the Maven repository that hosts the FusedLocation SDK to settings.gradle.kts or settings.gradle.

settings.gradle.kts
dependencyResolutionManagement {
repositories {
maven("https://nexus-playground.pleos.ai/repository/maven-releases/")
}
}

Adding the SDK Dependency​

Add the FusedLocation SDK dependency to the app module's build.gradle.kts or build.gradle. The example below uses SDK 1.1.2.

build.gradle.kts
dependencies {
implementation("ai.pleos.playground:FusedLocation:1.1.2")
}

Synchronize the Gradle project after adding the dependency.