Skip to content

Commit

Permalink
Using latest retrofit and ok http client
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessel van Norel committed Jul 14, 2014
1 parent d50d6f8 commit 49fda00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions pinnedcerts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
classpath 'com.android.tools.build:gradle:0.12.+'
}
}

Expand Down Expand Up @@ -32,8 +32,10 @@ dependencies {
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.android.support:support-v4:20.+'

compile 'com.squareup.retrofit:retrofit:1.3.+'
compile 'com.squareup.okhttp:okhttp:1.2.+'
compile 'com.squareup.retrofit:retrofit:1.6.+'
compile 'com.squareup.okhttp:okhttp:2.0.+'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0+'


compile 'de.greenrobot:eventbus:2.2.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void makeRetrofitRequest() {
.build();

RestAdapter restAdapter = new RestAdapter.Builder()
.setServer(TEST_URL)
.setEndpoint(TEST_URL)
.setLogLevel(RestAdapter.LogLevel.FULL)
.setLog(new Logger())
.setClient(retrofitClient)
Expand Down

0 comments on commit 49fda00

Please sign in to comment.