Skip to content

Commit

Permalink
Merge pull request #56 from mrmike/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
mrmike committed May 13, 2020
2 parents 088f556 + 0c71bb6 commit 8e0d16f
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 23 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Expand Up @@ -6,14 +6,11 @@ android:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- android-29
- extra-android-m2repository

licenses:
- android-sdk-license-.+

before_script:
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "platforms;android-29"

script:
- ./gradlew clean build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -10,7 +10,7 @@ repositories {
}
dependencies {
implementation 'com.github.mrmike:ok2curl:0.5.0'
implementation 'com.github.mrmike:ok2curl:0.6.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,5 @@
#Wed Feb 27 20:07:24 CET 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
2 changes: 1 addition & 1 deletion gradlew
Expand Up @@ -28,7 +28,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
Expand Down
2 changes: 1 addition & 1 deletion gradlew.bat
Expand Up @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DEFAULT_JVM_OPTS="-Xmx64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
Expand Down
14 changes: 7 additions & 7 deletions ok2curl/build.gradle
Expand Up @@ -4,26 +4,26 @@ apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

group='com.github.mrmike'
version='0.5.0'
version='0.6.0'

targetCompatibility = '1.8'
sourceCompatibility = '1.8'

dependencies {
compile 'com.squareup.okhttp3:okhttp:3.13.1'
implementation 'com.squareup.okhttp3:okhttp:4.6.0'

testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.23.0'
testCompile 'com.squareup.okhttp3:mockwebserver:3.13.1'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.2.0'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}

Expand Down
11 changes: 6 additions & 5 deletions sample/build.gradle
@@ -1,11 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
compileSdkVersion 29
defaultConfig {
applicationId "com.moczul.sample"
minSdkVersion 14
targetSdkVersion 28
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
Expand All @@ -32,19 +32,20 @@ dependencies {
implementation project(':ok2curl')

/**
* implementation 'com.github.mrmike:ok2curl:0.5.0'
* implementation 'com.github.mrmike:ok2curl:0.6.0'
*/

/**
* Ok2Curl is packed with the latest version of OkHttp. If you already have OkHttp declared in
* your dependencies or want to use different version simply add exclude module.
*
* implementation ('com.github.mrmike:ok2curl:0.5.0') {
* implementation ('com.github.mrmike:ok2curl:0.6.0') {
* exclude module: 'okhttp'
* }
*/

implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.squareup.okhttp3:okhttp:4.6.0'

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'
Expand Down

0 comments on commit 8e0d16f

Please sign in to comment.