Spring Boot Starters for OkHttp
Latest version: ![](https://camo.githubusercontent.com/605feec2b438532f74ac4e558525a8cec9550594189dfa1021faaac9605bffea/68747470733a2f2f6a69747061636b2e696f2f762f696f2e66726565666169722f6f6b687474702d737072696e672d626f6f742e737667)
Available Starters
okhttp2-spring-boot-starter
okhttp3-spring-boot-starter
okhttp-spring-boot-starter
(Alias for okhttp3-spring-boot-starter
)
Using Gradle
dependencies {
compile "io.freefair.okhttp-spring-boot:okhttp3-spring-boot-starter:$version"
}
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Using Maven
<dependency>
<groupId>io.freefair.okhttp-spring-boot</groupId>
<artifactId>okhttp3-spring-boot-starter</artifactId>
<version>${version}</version>
</dependency>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>