mirror of
https://github.com/corda/corda.git
synced 2025-04-08 20:04:51 +00:00
Upgraded Kotlin version to 1.1.1 to fix issues with Cordapp building. (#439)
This commit is contained in:
parent
0280299104
commit
148b7b7551
@ -10,7 +10,7 @@ buildscript {
|
||||
// Dependency versions. Can run 'gradle dependencyUpdates' to find new versions of things.
|
||||
//
|
||||
// TODO: Sort this alphabetically.
|
||||
ext.kotlin_version = '1.0.7'
|
||||
ext.kotlin_version = '1.1.1'
|
||||
ext.quasar_version = '0.7.6' // TODO: Upgrade to 0.7.7+ when Quasar bug 238 is resolved.
|
||||
ext.asm_version = '0.5.3'
|
||||
ext.artemis_version = '1.5.3'
|
||||
|
@ -222,7 +222,7 @@ class InMemoryMessagingNetwork(
|
||||
override fun <A> pickNext(service: ServiceHandle, pickFrom: List<A>): A {
|
||||
val nextIndex = previousPicks.compute(service) { _key, previous ->
|
||||
(previous?.plus(1) ?: 0) % pickFrom.size
|
||||
}
|
||||
}!!
|
||||
return pickFrom[nextIndex]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user