文件下载
文件名 操作
junit-4.12.2.jar 下载
junit-4.12.2.pom 下载
junit-4.12.2-sources.jar 下载
Apache Maven
<dependency>
  <groupId>org.robolectric</groupId>
  <artifactId>junit</artifactId>
  <version>4.12.2</version>
</dependency>
Gradle Groovy
implementation 'org.robolectric:junit:4.12.2'
Gradle Kotlin
implementation("org.robolectric:junit:4.12.2")
Scala SBT
libraryDependencies += "org.robolectric" % "junit" % "4.12.2"
Groovy Grape
@Grapes(
  @Grab(group='org.robolectric', module='junit', version='4.12.2')
)
Apache Ivy
<dependency org="org.robolectric" name="junit" rev="4.12.2" />
Leiningen
[org.robolectric/junit "4.12.2"]
Apache Buildr
'org.robolectric:junit:jar:4.12.2'