How To Install Java Artifact com.pivotallabs.robolectric v0.9.7

com.pivotallabs robolectric 0.9.7

Introduction

In this article, we'll learn how to install Java artifact robolectric from com.pivotallabs group in version 0.9.7. The artifact is available in 9 versions: 1.2 1.1 1.0-RC4 1.0-RC1 1.0 0.9.8 0.9.7 0.9.6 0.9.5 . The Robolectric project has been released under MIT license license, and has its own website at: http://pivotal.github.com/robolectric/ . The parent project is: org.sonatype.oss::oss-parent::5

How To Install Java Artifact com.pivotallabs.robolectric In Version 0.9.7

To install the Robolectric artifact in version 0.9.7 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Robolectric dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (6)

Provided dependencies (4)

Test dependencies (1)

Licenses

Developers