MVN

com.squareup.retrofit : retrofit-mock

Maven & Gradle

Dec 17, 2021
6 usages
41.7k stars

Retrofit Mock Adapter

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

Latest Version

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

  • Latest Stable: 1.9.0
  • Latest Beta: 2.0.0-beta2

All Versions

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

Version Vulnerabilities Updated
2.0.x
retrofit-mock-2.0.0-beta2
retrofit-mock-2.0.0-beta1
1.9.x
retrofit-mock-1.9.0
1.8.x
retrofit-mock-1.8.0
1.7.x
retrofit-mock-1.7.1
retrofit-mock-1.7.0
1.6.x
retrofit-mock-1.6.1
retrofit-mock-1.6.0
1.5.x
retrofit-mock-1.5.1
retrofit-mock-1.5.0
1.4.x
retrofit-mock-1.4.1
retrofit-mock-1.4.0
1.3.x
retrofit-mock-1.3.0

How to add a dependency to Maven

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

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

How to add a dependency to Gradle

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

implementation 'com.squareup.retrofit:retrofit-mock:1.9.0'

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

implementation("com.squareup.retrofit:retrofit-mock:1.9.0")

How to add a dependency to SBT Scala

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

libraryDependencies += "com.squareup.retrofit" % "retrofit-mock" % "1.9.0"

Advertisement

Dependencies from Group

Dec 17, 2021
313 usages
41.2k stars
Dec 17, 2021
80 usages
Dec 17, 2021
19 usages
41.7k stars
Dec 17, 2021
6 usages
41.7k stars
Dec 17, 2021
6 usages
41.7k stars

Discover Dependencies

Jun 16, 2019
2 usages
61 stars
Dec 06, 2018
5 usages
9 stars
Apr 19, 2019
2 usages
May 05, 2023
5 usages
294 stars
Feb 07, 2023
2 usages
3k stars