From 41c60bc3d44aa0dc1187596410a3c1491cc7d739 Mon Sep 17 00:00:00 2001 From: phinner <62483793+phinner@users.noreply.github.com> Date: Mon, 16 Sep 2024 21:36:11 +0200 Subject: [PATCH] fix: Fix compilation failures --- build.gradle.kts | 4 ++++ gradle/libs.versions.toml | 2 +- settings.gradle.kts | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3f1dcad..f5197e9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -74,6 +74,10 @@ tasks.shadowJar { from(rootProject.file("LICENSE.md")) { into("META-INF") } } +tasks.dexJar { + d8Version = "8.5.10" +} + tasks.mergeJar { archiveFileName.set("kotlin-runtime.jar") } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ee2c367..ff3f263 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ kotlinx-serialization = "1.7.2" spotless = "6.25.0" indra = "3.1.3" shadow = "8.1.1" -toxopid = "4.0.2" +toxopid = "4.1.0-SNAPSHOT" [libraries] kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } diff --git a/settings.gradle.kts b/settings.gradle.kts index 1c1d7f5..81f5d87 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,17 @@ +pluginManagement { + repositories { + gradlePluginPortal() + mavenCentral() + maven("https://maven.xpdustry.com/snapshots") { + name = "xpdustry-snapshots" + mavenContent { snapshotsOnly() } + } + mavenLocal() + } +} + +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" +} + rootProject.name = "kotlin-runtime"