From 7da4056392f07b5b9acc5b7ad590e5fa1bc06c60 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Fri, 20 Aug 2021 13:18:50 +0300 Subject: [PATCH] Kotlin 1.4+ auto-adds kotlin-stdlib dependency per https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default so we don't need it added manually. Tested locally with ./gradlew desktop:dist and the jar worked. --- build.gradle.kts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 11449ba140..8c7af3148b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,7 +60,6 @@ project(":desktop") { "implementation"("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop") "implementation"("com.badlogicgames.gdx:gdx-tools:$gdxVersion") // This is for the TexturePacker class - "implementation"("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion") // This is so the JAR works with Kotlin "implementation"("com.github.MinnDevelopment:java-discord-rpc:v2.0.1") "implementation"("io.ktor:ktor-server-netty:1.3.2") @@ -103,7 +102,6 @@ project(":core") { dependencies { "implementation"("com.badlogicgames.gdx:gdx:$gdxVersion") - "implementation"("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion") } @@ -125,8 +123,6 @@ project(":core") { "implementation"(project(":core")) - "implementation"("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion") - "implementation"("junit:junit:4.13.1") "implementation"("org.mockito:mockito-all:1.9.5")