-
Notifications
You must be signed in to change notification settings - Fork 80
Build and Usage
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.
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 *;}