Skip to main content

Configure Your Project

To access the PolyOS library, add the following entries to your project’s build.gradle file.

Note: Update the build version in consultation with the Poly API engineer assigned for your support. For example, you would replace <VERSION> in the following example with 1.0.1.

repositories {
maven {
url 'http://public.polyrepo.com/artifactory/poly-local/'
allowInsecureProtocol = true
}
}

dependencies {
implementation 'com.poly.polyos:polyos-library:<VERSION>'

implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1"
}