mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 07:49:17 +07:00
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:
@ -120,6 +120,8 @@ tasks.register<JavaExec>("run") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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.core:core-ktx:1.3.2")
|
||||||
implementation("androidx.work:work-runtime-ktx:2.6.0-alpha02")
|
implementation("androidx.work:work-runtime-ktx:2.6.0-alpha02")
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import com.unciv.build.BuildConfig.gdxVersion
|
import com.unciv.build.BuildConfig.gdxVersion
|
||||||
import com.unciv.build.BuildConfig.kotlinVersion
|
|
||||||
import com.unciv.build.BuildConfig.roboVMVersion
|
import com.unciv.build.BuildConfig.roboVMVersion
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
@ -111,16 +110,6 @@ project(":core") {
|
|||||||
apply(plugin = "kotlin")
|
apply(plugin = "kotlin")
|
||||||
|
|
||||||
dependencies {
|
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"(project(":core"))
|
||||||
|
|
||||||
"implementation"("junit:junit:4.13.1")
|
"implementation"("junit:junit:4.13.1")
|
||||||
|
Reference in New Issue
Block a user