mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 20:34:23 +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:
parent
2d7e675f95
commit
4e72cafc27
@ -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")
|
||||
}
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user