mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-23 01:14:30 +07:00
Kotlin 1.5.30 test (#5089)
* Kotlin bump to 1.5.30 * Needed change due to (correct!) new compile error
This commit is contained in:
parent
a1fdb612a9
commit
f3a8188cb1
@ -4,7 +4,7 @@ import com.unciv.build.BuildConfig.roboVMVersion
|
|||||||
|
|
||||||
// You'll still get kotlin-reflect-1.3.70.jar in your classpath, but will no longer be used
|
// You'll still get kotlin-reflect-1.3.70.jar in your classpath, but will no longer be used
|
||||||
configurations.all { resolutionStrategy {
|
configurations.all { resolutionStrategy {
|
||||||
force("org.jetbrains.kotlin:kotlin-reflect:1.4.30")
|
force("org.jetbrains.kotlin:kotlin-reflect:${com.unciv.build.BuildConfig.kotlinVersion}")
|
||||||
} }
|
} }
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package com.unciv.build
|
package com.unciv.build
|
||||||
|
|
||||||
object BuildConfig {
|
object BuildConfig {
|
||||||
const val kotlinVersion = "1.4.30"
|
const val kotlinVersion = "1.5.30"
|
||||||
const val appName = "Unciv"
|
const val appName = "Unciv"
|
||||||
const val appCodeNumber = 620
|
const val appCodeNumber = 620
|
||||||
const val appVersion = "3.16.11"
|
const val appVersion = "3.16.11"
|
||||||
|
@ -203,7 +203,8 @@ object NextTurnAutomation {
|
|||||||
|
|
||||||
// Bonus for luxury resources we can get from them
|
// Bonus for luxury resources we can get from them
|
||||||
value += cityState.detailedCivResources.count { it.resource.resourceType == ResourceType.Luxury
|
value += cityState.detailedCivResources.count { it.resource.resourceType == ResourceType.Luxury
|
||||||
&& !(it.resource in civInfo.detailedCivResources) }
|
&& it.resource !in civInfo.detailedCivResources.map { it.resource }
|
||||||
|
}
|
||||||
|
|
||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user