Skip to content

Commit

Permalink
RED-149 #time 30m Update the okhttp library to Android Studio 3.0. Up…
Browse files Browse the repository at this point in the history
…date the version code and the version name.
  • Loading branch information
ludovicroland committed Nov 2, 2017
1 parent dc3bc88 commit 4deb881
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript

dependencies
{
classpath "com.android.tools.build:gradle:2.3.3"
classpath "com.android.tools.build:gradle:3.0.0"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
}
}
Expand All @@ -19,10 +19,7 @@ allprojects
repositories
{
jcenter()
maven
{
url "https://maven.google.com"
}
google()
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon May 15 11:03:57 CEST 2017
#Thu Nov 02 14:11:34 CET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
16 changes: 8 additions & 8 deletions okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ apply plugin: "maven-publish"

android
{
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.2"

defaultConfig
{
minSdkVersion 14
targetSdkVersion 25
targetSdkVersion 26

versionCode 11
versionName "1.0.1.003-SNAPSHOT"
versionCode 12
versionName "1.0.1"
}

buildTypes
Expand All @@ -31,11 +31,11 @@ android
dependencies
{
//Smart&Soft
compile ("com.smartnsoft:droid4me:2.5.3")
compile ("com.smartnsoft:droid4me.ext:2.5.3")
implementation ("com.smartnsoft:droid4me:2.5.3")
implementation ("com.smartnsoft:droid4me.ext:2.5.3")

//Third party libraries
compile ("com.squareup.okhttp3:okhttp:3.8.0")
api ("com.squareup.okhttp3:okhttp:3.8.0")
}

task sourcesJar(type: Jar) {
Expand Down

0 comments on commit 4deb881

Please sign in to comment.