-
Notifications
You must be signed in to change notification settings - Fork 19
Gradle setup
stephanenicolas edited this page Oct 19, 2013
·
1 revision
To use BoundBox during Android Gradle builds, simply declare BoundBox as a test dependency in your build.gradle
file :
repositories {
mavenCentral()
}
ext.boundBoxVersion = "x.y.z"
dependencies {
instrumentTestCompile "org.boundbox:boundbox-library:$boundBoxVersion"
}
BoundBox will automatically be added as an annotation processor by gradle and it will work out-of-the-box.
If you wish to use a snapshot version of BoundBox, use this repository in your project :
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
The Android sample of BoundBox demonstrates how to use BoundBox with Gradle.