MVN

com.squareup.retrofit2 : retrofit-mock

Maven & Gradle

May 20, 2020
41 usages
42.6k stars

Retrofit Mock Adapter · An add-on to Retrofit for implementing fake services.

<dependency>
    <groupId>com.squareup.retrofit2</groupId>
    <artifactId>retrofit-mock</artifactId>
    <version>2.9.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.squareup.retrofit2 : retrofit-mock to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.9.0
  • Latest Beta: 2.0.0-beta4

All Versions

Choose a version of com.squareup.retrofit2 : retrofit-mock to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.9.x
retrofit-mock-2.9.0
2.8.x
retrofit-mock-2.8.2
retrofit-mock-2.8.1
retrofit-mock-2.8.0
2.7.x
retrofit-mock-2.7.2
retrofit-mock-2.7.1
retrofit-mock-2.7.0
2.6.x
retrofit-mock-2.6.4
retrofit-mock-2.6.3
retrofit-mock-2.6.2
retrofit-mock-2.6.1
retrofit-mock-2.6.0
2.5.x
retrofit-mock-2.5.0
2.4.x
retrofit-mock-2.4.0
2.3.x
retrofit-mock-2.3.0
2.2.x
retrofit-mock-2.2.0
2.1.x
retrofit-mock-2.1.0
2.0.x
retrofit-mock-2.0.2
retrofit-mock-2.0.1
retrofit-mock-2.0.0
retrofit-mock-2.0.0-beta4
retrofit-mock-2.0.0-beta3

How to add a dependency to Maven

Add the following com.squareup.retrofit2 : retrofit-mock maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.squareup.retrofit2</groupId>
    <artifactId>retrofit-mock</artifactId>
    <version>2.9.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.squareup.retrofit2 : retrofit-mock gradle dependency to your build.gradle file:

implementation 'com.squareup.retrofit2:retrofit-mock:2.9.0'

Gradle Kotlin DSL: Add the following com.squareup.retrofit2 : retrofit-mock gradle kotlin dependency to your build.gradle.kts file:

implementation("com.squareup.retrofit2:retrofit-mock:2.9.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.squareup.retrofit2 : retrofit-mock sbt scala dependency to your build.sbt file:

libraryDependencies += "com.squareup.retrofit2" % "retrofit-mock" % "2.9.0"

Advertisement

Dependencies from Group

May 20, 2020
1.7k usages
42.6k stars
May 20, 2020
934 usages
42.6k stars
May 20, 2020
384 usages
42.6k stars
May 20, 2020
234 usages
42.6k stars
May 20, 2020
216 usages
42.6k stars

Discover Dependencies

May 20, 2020
26 usages
42.6k stars
May 20, 2020
162 usages
42.6k stars
May 20, 2020
16 usages
42.6k stars
Jun 08, 2023
49 usages
2.4k stars
Dec 05, 2017
1 usages
161 stars
Jun 26, 2016
1 usages
905 stars
May 09, 2018
1 usages
508 stars
Feb 21, 2019
10 stars
Nov 20, 2018
2 stars