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.
This commit is contained in:
yairm210 2021-08-20 13:18:50 +03:00
parent 305cde86ce
commit 7da4056392

View File

@ -60,7 +60,6 @@ project(":desktop") {
"implementation"("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop") "implementation"("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
"implementation"("com.badlogicgames.gdx:gdx-tools:$gdxVersion") // This is for the TexturePacker class "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"("com.github.MinnDevelopment:java-discord-rpc:v2.0.1")
"implementation"("io.ktor:ktor-server-netty:1.3.2") "implementation"("io.ktor:ktor-server-netty:1.3.2")
@ -103,7 +102,6 @@ project(":core") {
dependencies { dependencies {
"implementation"("com.badlogicgames.gdx:gdx:$gdxVersion") "implementation"("com.badlogicgames.gdx:gdx:$gdxVersion")
"implementation"("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
} }
@ -125,8 +123,6 @@ project(":core") {
"implementation"(project(":core")) "implementation"(project(":core"))
"implementation"("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
"implementation"("junit:junit:4.13.1") "implementation"("junit:junit:4.13.1")
"implementation"("org.mockito:mockito-all:1.9.5") "implementation"("org.mockito:mockito-all:1.9.5")