Removed manual kotlin-stdlib dependency

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:37:35 +03:00
parent 2d7e675f95
commit 4e72cafc27
2 changed files with 2 additions and 11 deletions

View File

@ -120,6 +120,8 @@ tasks.register<JavaExec>("run") {
}
dependencies {
// Updating to latest version would require upgrading sourceCompatability and targetCompatability to 1_8 -
// run `./gradlew build --scan` to see details
implementation("androidx.core:core-ktx:1.3.2")
implementation("androidx.work:work-runtime-ktx:2.6.0-alpha02")
}

View File

@ -1,5 +1,4 @@
import com.unciv.build.BuildConfig.gdxVersion
import com.unciv.build.BuildConfig.kotlinVersion
import com.unciv.build.BuildConfig.roboVMVersion
buildscript {
@ -111,16 +110,6 @@ project(":core") {
apply(plugin = "kotlin")
dependencies {
/**
* If you do have some classes to test in os specific code you may want to uncomment
* some of these lines.
*
* BUT: I recommend to create seperate test sub projects for each platform. Trust me :)
*
*/
"implementation"(project(":core"))
"implementation"("junit:junit:4.13.1")