forked from square/retrofit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add download info to adapters and converters.
- Loading branch information
1 parent
ed82280
commit b8768b2
Showing
12 changed files
with
310 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Guava Adapter | ||
============== | ||
|
||
An `Adapter` for adapting [Guava][1] types. | ||
|
||
|
||
Download | ||
-------- | ||
|
||
Download [the latest JAR][2] or grab via [Maven][3]: | ||
```xml | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>adapter-guava</artifactId> | ||
<version>latest.version</version> | ||
</dependency> | ||
``` | ||
or [Gradle][3]: | ||
```groovy | ||
compile 'com.squareup.retrofit2:adapter-guava:latest.version' | ||
``` | ||
|
||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. | ||
|
||
|
||
|
||
[1]: https://github.com/google/guava | ||
[2]: https://search.maven.org/remote_content?g=com.squareup.retrofit2&a=adapter-guava&v=LATEST | ||
[3]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup.retrofit2%22%20a%3A%22adapter-guava%22 | ||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Java8 Adapter | ||
============== | ||
|
||
An `Adapter` for adapting [Java8][1] types. | ||
|
||
|
||
Download | ||
-------- | ||
|
||
Download [the latest JAR][2] or grab via [Maven][3]: | ||
```xml | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>adapter-java8</artifactId> | ||
<version>latest.version</version> | ||
</dependency> | ||
``` | ||
or [Gradle][3]: | ||
```groovy | ||
compile 'com.squareup.retrofit2:adapter-java8:latest.version' | ||
``` | ||
|
||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. | ||
|
||
|
||
|
||
[1]: http://www.oracle.com/technetwork/java/javase/jdk-8-readme-2095712.html | ||
[2]: https://search.maven.org/remote_content?g=com.squareup.retrofit2&a=adapter-java8&v=LATEST | ||
[3]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup.retrofit2%22%20a%3A%22adapter-java8%22 | ||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Java8 Adapter | ||
============== | ||
|
||
An `Adapter` for adapting [RxJava 1.x][1] types. | ||
|
||
|
||
Download | ||
-------- | ||
|
||
Download [the latest JAR][2] or grab via [Maven][3]: | ||
```xml | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>adapter-rxjava</artifactId> | ||
<version>latest.version</version> | ||
</dependency> | ||
``` | ||
or [Gradle][3]: | ||
```groovy | ||
compile 'com.squareup.retrofit2:adapter-rxjava:latest.version' | ||
``` | ||
|
||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. | ||
|
||
|
||
|
||
[1]: https://github.com/ReactiveX/RxJava/tree/1.x | ||
[2]: https://search.maven.org/remote_content?g=com.squareup.retrofit2&a=adapter-rxjava&v=LATEST | ||
[3]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup.retrofit2%22%20a%3A%22adapter-rxjava%22 | ||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Java8 Adapter | ||
============== | ||
|
||
An `Adapter` for adapting [RxJava 2.x][1] types. | ||
|
||
|
||
Download | ||
-------- | ||
|
||
Download [the latest JAR][2] or grab via [Maven][3]: | ||
```xml | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>adapter-rxjava2</artifactId> | ||
<version>latest.version</version> | ||
</dependency> | ||
``` | ||
or [Gradle][3]: | ||
```groovy | ||
compile 'com.squareup.retrofit2:adapter-rxjava2:latest.version' | ||
``` | ||
|
||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. | ||
|
||
|
||
|
||
[1]: https://github.com/ReactiveX/RxJava/tree/2.x | ||
[2]: https://search.maven.org/remote_content?g=com.squareup.retrofit2&a=adapter-rxjava2&v=LATEST | ||
[3]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup.retrofit2%22%20a%3A%22adapter-rxjava2%22 | ||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Mock Web Server | ||
============== | ||
|
||
An mock web server for mocking HTTP responses from a server, and simulating network behaviour. | ||
|
||
Download | ||
-------- | ||
|
||
Download [the latest JAR][1] or grab via [Maven][2]: | ||
```xml | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>retrofit-mock</artifactId> | ||
<version>see.latest.version</version> | ||
</dependency> | ||
``` | ||
or [Gradle][1]: | ||
```groovy | ||
compile 'com.squareup.retrofit2:retrofit-mock:see.latest.version' | ||
``` | ||
|
||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. | ||
|
||
[1]: https://search.maven.org/remote_content?g=com.squareup.retrofit2&a=retrofit-mock&v=LATEST | ||
[2]: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22retrofit-mock%22 | ||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/ |