diff --git a/.travis.yml b/.travis.yml index 29d3c5b..228dcd5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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 diff --git a/build.gradle b/build.gradle index 277ddc3..0e351fd 100644 --- a/build.gradle +++ b/build.gradle @@ -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 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a82e409..23aa690 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/library/build.gradle b/library/build.gradle index 912de58..bdde9c8 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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() @@ -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 { diff --git a/sample/build.gradle b/sample/build.gradle index 4c9bd51..77b802b 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -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" } @@ -28,8 +28,8 @@ 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 @@ -37,11 +37,11 @@ dependencies { // 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