Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Added compatibility for 2.0.0-beta4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Schnelle committed Feb 22, 2016
1 parent b15cf66 commit 1956237
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Get the appropriate version for your Retrofit dependency on `jcenter()`:
|---|---|
|`2.0.0-beta2`|`compile "com.github.aurae.retrofit:converter-logansquare:1.1.0"`|
|`2.0.0-beta3`|`compile "com.github.aurae.retrofit2:converter-logansquare:1.2.1"`|
|`2.0.0-beta4`|`compile "com.github.aurae.retrofit2:converter-logansquare:1.3.0"`|

Don't forget to include LoganSquare's dependencies as well. Check [their repo][logansquare] for the latest version:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private LoganSquareConverterFactory() {
}

@Override
public Converter<?, RequestBody> requestBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit) {
public Converter<?, RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit) {
return new LoganSquareRequestBodyConverter(type);
}
}
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Artifact configuration
GROUP_ID=com.github.aurae.retrofit2
ARTIFACT_ID=converter-logansquare
VERSION_NAME=1.2.1
VERSION_NAME=1.3.0
DESCRIPTION=A Converter implementation using LoganSquare JSON serialization for Retrofit 2.

# Dependency versions (plugins)
APT_PLUGIN_VERSION=0.4
BINTRAY_PLUGIN_VERSION=1.3.1

# Dependency versions (library)
RETROFIT_VERSION=2.0.0-beta3
RETROFIT_VERSION=2.0.0-beta4
LOGANSQUARE_VERSION=1.3.4

# Dependency versions (test)
MOCKWEBSERVER_VERSION=3.0.0-RC1
MOCKWEBSERVER_VERSION=3.1.2
JUNIT_VERSION=4.12
ASSERTJ_VERSION=3.2.0

0 comments on commit 1956237

Please sign in to comment.