Skip to content

Commit 6b83e37

Browse files
author
Patrick Jackson
committed
kotlin version bump
1 parent b658293 commit 6b83e37

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ext.versions = [
2-
kotlin : '1.3.30',
2+
kotlin : '1.3.41',
33
dokka : '0.9.17',
44
spek : '2.1.0-alpha.0.9+3d5d865',
55
atrium : '0.8.0'

lib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'kotlin-multiplatform'
77
archivesBaseName = 'redux-kotlin-thunk'
88

99
group 'org.reduxkotlin'
10-
version '0.2.3'
10+
version '0.2.4'
1111

1212
kotlin {
1313
jvm()
@@ -34,7 +34,7 @@ kotlin {
3434
commonMain {
3535
dependencies {
3636
implementation kotlin("stdlib-common")
37-
implementation "org.reduxkotlin:redux-kotlin:0.2.1"
37+
implementation "org.reduxkotlin:redux-kotlin:0.2.4"
3838
}
3939
}
4040
commonTest {

lib/src/commonMain/kotlin/org/reduxkotlin/Thunk.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ fun createThunkMiddleware(extraArgument: Any? = null): ThunkMiddleware =
1010
try {
1111
(action as Thunk)(store.dispatch, store.getState, extraArgument)
1212
} catch (e: Exception) {
13+
throw IllegalArgumentException()
1314
// Logger.d("Dispatching functions must use type Thunk: " + e.message)
1415
}
1516
} else {

0 commit comments

Comments
 (0)