From fe120a0bf274a3574c34a3ff42b04834562efcde Mon Sep 17 00:00:00 2001 From: Nite Date: Sun, 29 Nov 2020 13:25:06 +0100 Subject: [PATCH] Updated API to 29, fixed failing tests --- .../moire/ultrasonic/subsonic/loader/image/CommonFunctions.kt | 2 +- dependencies.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/subsonic-api-image-loader/src/integrationTest/kotlin/org/moire/ultrasonic/subsonic/loader/image/CommonFunctions.kt b/core/subsonic-api-image-loader/src/integrationTest/kotlin/org/moire/ultrasonic/subsonic/loader/image/CommonFunctions.kt index 89b4b821..30d38c60 100644 --- a/core/subsonic-api-image-loader/src/integrationTest/kotlin/org/moire/ultrasonic/subsonic/loader/image/CommonFunctions.kt +++ b/core/subsonic-api-image-loader/src/integrationTest/kotlin/org/moire/ultrasonic/subsonic/loader/image/CommonFunctions.kt @@ -4,6 +4,6 @@ import java.io.InputStream import okio.Okio fun Any.loadResourceStream(name: String): InputStream { - val source = Okio.buffer(Okio.source(javaClass.classLoader.getResourceAsStream(name))) + val source = Okio.buffer(Okio.source(javaClass.classLoader!!.getResourceAsStream(name))) return source.inputStream() } diff --git a/dependencies.gradle b/dependencies.gradle index cffa0219..01b87e01 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,7 +1,7 @@ ext.versions = [ minSdk : 14, - targetSdk : 28, - compileSdk : 28, + targetSdk : 29, + compileSdk : 29, gradle : '6.5', androidTools : "4.0.0",