Skip to content

Getting Started

Benjamin Mwalimu edited this page Jun 9, 2020 · 2 revisions

Getting Started

Setting up OpenSRP Native form in a Android Project.

Downloading from Sonatype

To download the package from Sonatype simply do the following

STEP 1

Add the sonatype maven repository to your build.gradle files

repositories {
    maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

STEP 2

Add the latest version of OpenSRP Native form on the dependency section of your build.gradle file. Pick the latest version from the sonatype list.

dependencies {
    //....
    implementation "org.smartregister:opensrp-client-native-form::$nativeFormVersion"
    //....

}