From 97af8702d38f408e0b78483215562a53da3772e6 Mon Sep 17 00:00:00 2001 From: Restia-Ashbell <107416976+Restia-Ashbell@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:18:27 +0800 Subject: [PATCH] fix: snakeyaml parsing clash subscription causes `IndexOutOfBoundsException` --- app/build.gradle.kts | 2 +- repositories.gradle.kts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 24de734f..a5a47b01 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -64,7 +64,7 @@ dependencies { implementation("com.blacksquircle.ui:language-json:2.9.0") implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.14") - implementation("org.yaml:snakeyaml:2.3") + implementation("org.yaml:snakeyaml:2.4-SNAPSHOT") implementation("com.github.daniel-stoneuk:material-about-library:3.2.0-rc01") implementation("com.jakewharton:process-phoenix:3.0.0") implementation("com.esotericsoftware:kryo:5.6.0") diff --git a/repositories.gradle.kts b/repositories.gradle.kts index 11023ba7..976bb11c 100644 --- a/repositories.gradle.kts +++ b/repositories.gradle.kts @@ -3,4 +3,5 @@ repositories { mavenCentral() gradlePluginPortal() maven(url = "https://jitpack.io") + maven(url = "https://oss.sonatype.org/content/repositories/snapshots/") } \ No newline at end of file