Robolectric Gradle Plugin

A Gradle plugin which enables Robolectric tests for Android.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

org.robolectric
ArtifactId

ArtifactId

robolectric-gradle-plugin
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Robolectric Gradle Plugin
A Gradle plugin which enables Robolectric tests for Android.
Project URL

Project URL

https://github.com/robolectric/robolectric-gradle-plugin
Project Organization

Project Organization

Robolectric
Source Code Management

Source Code Management

https://github.com/robolectric/robolectric-gradle-plugin

Download robolectric-gradle-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.robolectric/robolectric-gradle-plugin/ -->
<dependency>
    <groupId>org.robolectric</groupId>
    <artifactId>robolectric-gradle-plugin</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.robolectric/robolectric-gradle-plugin/
implementation 'org.robolectric:robolectric-gradle-plugin:1.1.0'
// https://jarcasting.com/artifacts/org.robolectric/robolectric-gradle-plugin/
implementation ("org.robolectric:robolectric-gradle-plugin:1.1.0")
'org.robolectric:robolectric-gradle-plugin:jar:1.1.0'
<dependency org="org.robolectric" name="robolectric-gradle-plugin" rev="1.1.0">
  <artifact name="robolectric-gradle-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='robolectric-gradle-plugin', version='1.1.0')
)
libraryDependencies += "org.robolectric" % "robolectric-gradle-plugin" % "1.1.0"
[org.robolectric/robolectric-gradle-plugin "1.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.tools.build : gradle jar 1.2.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 1.7.1

Project Modules

There are no modules declared in this project.

Robolectric Gradle Plugin

Deprecated

With the release of Robolectric 3.0, this plugin is no longer needed to run tests with Gradle. Please refer to http://robolectric.org/getting-started for instructions on how to get started with Gradle and Android Studio.

org.robolectric

Robolectric

Android unit testing framework.

Versions

Version
1.1.0
1.0.1
1.0.0
0.14.1
0.14.0
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0