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