From 699bed18d59600cf1e66bfbddaffca326b69fbc4 Mon Sep 17 00:00:00 2001 From: ThibaultBee <37510686+ThibaultBee@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:33:11 +0200 Subject: [PATCH] chore(dependencies): upgrade to Kotlin 1.9.22 --- build.gradle | 4 ++-- example/build.gradle | 4 ++-- .../io/github/thibaultbee/srtdroid/example/tests/RecvFile.kt | 2 +- .../io/github/thibaultbee/srtdroid/example/tests/SendFile.kt | 2 +- .../java/io/github/thibaultbee/srtdroid/example/tests/Test.kt | 2 +- .../github/thibaultbee/srtdroid/example/tests/TestClient.kt | 2 +- .../github/thibaultbee/srtdroid/example/tests/TestServer.kt | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 3c6b7dc7..46b3c1e9 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ buildscript { versionCode = 001_007_000 versionName = "1.7.0" - kotlin_version = '1.8.22' - dokka_version = '1.8.20' + kotlin_version = '1.9.22' + dokka_version = '1.9.20' } repositories { google() diff --git a/example/build.gradle b/example/build.gradle index 6e439775..9595f1b9 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -49,8 +49,8 @@ dependencies { implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.preference:preference-ktx:1.2.1' - implementation 'androidx.navigation:navigation-fragment-ktx:2.7.3' - implementation 'androidx.navigation:navigation-ui-ktx:2.7.3' + implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7' + implementation 'androidx.navigation:navigation-ui-ktx:2.7.7' implementation 'com.google.guava:guava:32.1.2-jre' testImplementation 'junit:junit:4.13.2' diff --git a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/RecvFile.kt b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/RecvFile.kt index c71448d9..710f3a60 100644 --- a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/RecvFile.kt +++ b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/RecvFile.kt @@ -16,7 +16,7 @@ class RecvFile( private val recvFileDir: File, executorService: ExecutorService, onSuccess: (String) -> Unit, - onError: (String?) -> Unit + onError: (String) -> Unit ) : Test(executorService, onSuccess, onError) { companion object { private val TAG = RecvFile::class.simpleName diff --git a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/SendFile.kt b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/SendFile.kt index d1b98caf..3fb4df31 100644 --- a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/SendFile.kt +++ b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/SendFile.kt @@ -14,7 +14,7 @@ class SendFile( private val fileSendDir: File, executorService: ExecutorService, onSuccess: (String) -> Unit, - onError: (String?) -> Unit + onError: (String) -> Unit ) : Test(executorService, onSuccess, onError) { companion object { private val TAG = SendFile::class.simpleName diff --git a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/Test.kt b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/Test.kt index 98a6d2f9..03d40b58 100644 --- a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/Test.kt +++ b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/Test.kt @@ -6,7 +6,7 @@ import java.util.concurrent.ExecutorService abstract class Test( private val executor: ExecutorService, protected val onSuccess: (String) -> Unit, - protected val onError: (String?) -> Unit + protected val onError: (String) -> Unit ) { protected abstract val testName: String private var socket: Socket? = null diff --git a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestClient.kt b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestClient.kt index 76000dd2..5944dc15 100644 --- a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestClient.kt +++ b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestClient.kt @@ -8,7 +8,7 @@ import java.util.concurrent.ExecutorService class TestClient( executorService: ExecutorService, onSuccess: (String) -> Unit, - onError: (String?) -> Unit + onError: (String) -> Unit ) : Test(executorService, onSuccess, onError) { companion object { private val TAG = TestClient::class.simpleName diff --git a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestServer.kt b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestServer.kt index 5688644c..ecd8300c 100644 --- a/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestServer.kt +++ b/example/src/main/java/io/github/thibaultbee/srtdroid/example/tests/TestServer.kt @@ -8,7 +8,7 @@ import java.util.concurrent.ExecutorService class TestServer( executorService: ExecutorService, onSuccess: (String) -> Unit, - onError: (String?) -> Unit + onError: (String) -> Unit ) : Test(executorService, onSuccess, onError) { companion object { private val TAG = TestServer::class.simpleName