MVN

org.robolectric : robolectric

Maven & Gradle

May 17, 2023
407 usages
5.8k stars

robolectric · An alternative Android testing framework.

<dependency>
    <groupId>org.robolectric</groupId>
    <artifactId>robolectric</artifactId>
    <version>4.10.3</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.robolectric : robolectric to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 4.10.3
  • Latest Release Candidate: 4.2-rc1
  • Latest Beta: 4.5-beta-1
  • Latest Alpha: 4.10-alpha-1

All Versions

Choose a version of org.robolectric : robolectric to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
4.10.x
robolectric-4.10.3
robolectric-4.10.2
robolectric-4.10.1
4.10
robolectric-4.10
robolectric-4.10-alpha-1
4.9.x
robolectric-4.9.2
robolectric-4.9.1
4.9
robolectric-4.9
robolectric-4.9-alpha-1
4.8.x
robolectric-4.8.2
robolectric-4.8.1
4.8
robolectric-4.8
robolectric-4.8-alpha-1
4.7.x
robolectric-4.7.3
robolectric-4.7.2
robolectric-4.7.1
4.7
robolectric-4.7
robolectric-4.7-alpha-2
robolectric-4.7-alpha-1
4.6.x
robolectric-4.6.1
4.6
robolectric-4.6
robolectric-4.6-alpha-2
robolectric-4.6-alpha-1
4.5.x
robolectric-4.5.1
4.5
robolectric-4.5
robolectric-4.5-beta-1
robolectric-4.5-alpha-3
robolectric-4.5-alpha-2
robolectric-4.5-alpha-1
4.4.x
robolectric-4.4.1
4.4
robolectric-4.4
robolectric-4.4-beta-1
robolectric-4.4-alpha-5
robolectric-4.4-alpha-4
robolectric-4.4-alpha-3
robolectric-4.4-alpha-2
robolectric-4.4-alpha-1
4.3.x
robolectric-4.3.1
4.3
robolectric-4.3
robolectric-4.3-beta-1
robolectric-4.3-alpha-3
robolectric-4.3-alpha-2
robolectric-4.3-alpha-1
4.2.x
robolectric-4.2.1
4.2
robolectric-4.2
robolectric-4.2-rc1
robolectric-4.2-beta-1
robolectric-4.2-alpha-2
robolectric-4.2-alpha-1
4.1
robolectric-4.1
robolectric-4.1-beta-2
robolectric-4.1-beta-1
robolectric-4.1-alpha-1
4.0.x
robolectric-4.0.2
robolectric-4.0.1
4.0
robolectric-4.0
robolectric-4.0-beta-3
robolectric-4.0-beta-2
robolectric-4.0-beta-1
robolectric-4.0-alpha-3
robolectric-4.0-alpha-2
robolectric-4.0-alpha-1
3.8
robolectric-3.8
3.7.x
robolectric-3.7.1
3.7
robolectric-3.7
3.6.x
robolectric-3.6.2
robolectric-3.6.1
3.6
robolectric-3.6
robolectric-3.6-alpha-1
3.5.x
robolectric-3.5.1
3.5
robolectric-3.5
robolectric-3.5-rc1
3.4.x
robolectric-3.4.2
robolectric-3.4.1
3.4
robolectric-3.4
robolectric-3.4-rc5
robolectric-3.4-rc4
robolectric-3.4-rc3
robolectric-3.4-rc2
robolectric-3.4-rc1
3.3.x
robolectric-3.3.2
robolectric-3.3.1
3.3
robolectric-3.3
3.2.x
robolectric-3.2.2
robolectric-3.2.1
3.2
robolectric-3.2
robolectric-3.2-rc1
3.1.x
robolectric-3.1.4
robolectric-3.1.3
robolectric-3.1.2
robolectric-3.1.1
3.1
robolectric-3.1
robolectric-3.1-rc1
3.0
robolectric-3.0
robolectric-3.0-rc3
robolectric-3.0-rc2
robolectric-3.0-rc1
2.4
robolectric-2.4
2.3
robolectric-2.3
2.2
robolectric-2.2
2.1.x
robolectric-2.1.1
2.1
robolectric-2.1
2.0
robolectric-2.0
robolectric-2.0-rc2
robolectric-2.0-rc1
robolectric-2.0-alpha-3
robolectric-2.0-alpha-2
robolectric-2.0-alpha-1

How to add a dependency to Maven

Add the following org.robolectric : robolectric maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.robolectric</groupId>
    <artifactId>robolectric</artifactId>
    <version>4.10.3</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.robolectric : robolectric gradle dependency to your build.gradle file:

implementation 'org.robolectric:robolectric:4.10.3'

Gradle Kotlin DSL: Add the following org.robolectric : robolectric gradle kotlin dependency to your build.gradle.kts file:

implementation("org.robolectric:robolectric:4.10.3")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.robolectric : robolectric sbt scala dependency to your build.sbt file:

libraryDependencies += "org.robolectric" % "robolectric" % "4.10.3"

Advertisement

Dependencies from Group

May 17, 2023
407 usages
5.8k stars
Sep 07, 2022
61 usages
17 usages
5.8k stars
May 17, 2023
14 usages
5.8k stars

Discover Dependencies

Jul 21, 2023
2 usages
866 stars
Aug 16, 2023
257 usages
May 15, 2023
388 usages
7.2k stars
Aug 10, 2020
73 usages
250 stars
Jun 20, 2023
157 usages
8.4k stars
Aug 16, 2018
79 usages
2.7k stars
Mar 31, 2023
64 usages
3.5k stars
Dec 15, 2022
17 usages
2.5k stars
Jun 28, 2023
495 usages
2.1k stars