Upgraded Kotlin version to 1.1.1 to fix issues with Cordapp building. (#439)

This commit is contained in:
Clinton 2017-03-27 17:53:58 +01:00 committed by GitHub
parent 0280299104
commit 148b7b7551
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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]
}
}