Skip to content

Commit

Permalink
Merge pull request #52 from trivago/dependencies_update
Browse files Browse the repository at this point in the history
Dependencies update
  • Loading branch information
wching committed Sep 28, 2020
2 parents 9da491f + d532f67 commit dcb2779
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -4,8 +4,8 @@ jdk: oraclejdk8

env:
global:
- ANDROID_API_LEVEL=28
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
- ANDROID_API_LEVEL=30
- ANDROID_BUILD_TOOLS_VERSION=30.0.2
- ANDROID_ABI=armeabi-v7a

android:
Expand All @@ -20,8 +20,8 @@ android:

before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
- yes | sdkmanager "platforms;android-30"
- yes | sdkmanager "build-tools;30.0.2"

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.android.tools.build:gradle:4.0.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
17 changes: 6 additions & 11 deletions library/build.gradle
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'groovy'
apply plugin: 'maven'

buildscript {
ext.kotlin_version = '1.3.41'
ext.kotlin_version = '1.4.10'

repositories {
mavenCentral()
Expand All @@ -28,20 +28,15 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

// Rx
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'

// GSON
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.google.code.gson:gson:2.8.6'

// Testing
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.27.0'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0"

testImplementation "cglib:cglib:2.2"
testImplementation('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude group: 'junit'
}
testImplementation 'junit:junit:4.13'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation "org.mockito:mockito-inline:3.5.11"
}

compileKotlin {
Expand Down
16 changes: 8 additions & 8 deletions sample/build.gradle
Expand Up @@ -7,13 +7,13 @@ buildscript {
}

android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion 30
buildToolsVersion "30.0.2"

defaultConfig {
applicationId "de.rheinfabrik.heimdall"
minSdkVersion 15
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
Expand All @@ -28,20 +28,20 @@ android {
dependencies {

// Android
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'

// Heimdall
implementation project(':library')

// Rx
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.7'
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
implementation 'com.trello.rxlifecycle3:rxlifecycle-components:3.0.0'

// Serialization
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'org.parceler:parceler-api:0.2.16'

// Network
Expand Down

0 comments on commit dcb2779

Please sign in to comment.