Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Build and Usage

Nimrod Dayan edited this page Mar 23, 2015 · 31 revisions

WizarDroid is built using Gradle. Learn more about it here: new build system.

You will need to install the Android Support Repository from the Android SDK Manager, since WizarDroid uses support library v4.

Include the following in your project's build.gradle and WizarDroid library will be downloaded automatically from Maven Central repository.

repositories {
    mavenCentral()
}

dependencies {
    compile 'org.codepond:wizardroid:1.3.1'
}

WizarDroid is depending on support library v4, which might not be in sync with the one you're using in your project. This issue is known as transitive dependency issue. You can simply add the following to build.gradle to solve it:

configurations {
    all*.exclude module: 'support-v4'
}

Alternatively, you can include wizardroid folder as a sub-module of your project. See Google's tutorial if you are unfamiliar with how to set up a multi-module Gradle project.

Configuring Proguard to work with WizarDroid

To get WizarDroid working with Proguard, you will need to add the following to your proguard file:

#Wizardroid
-keepnames class * { @org.codepond.android.wizardroid.ContextVariable *;}