Skip to content

Commit 3da2571

Browse files
authored
Merge pull request #1 from reduxkotlin/update-publish
update publish and README
2 parents 7424384 + 6f3a5c3 commit 3da2571

File tree

5 files changed

+5
-219
lines changed

5 files changed

+5
-219
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ A redux Thunk implementation for async action dispatch.
1919
2020
...
2121
22-
fun fetchFoo(store: Store) {
23-
store.dispatch(FetchingFooAction)
22+
fun fetchFoo(dispatch: Dispatcher) {
23+
dispatch(FetchingFooAction)
2424
launch {
2525
val result = api.foo()
2626
if (result.isSuccessful()) {

lib/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ apply plugin: 'kotlin-multiplatform'
66

77
archivesBaseName = 'redux-kotlin-thunk'
88

9-
group 'org.reduxkotli' +
10-
'n'
9+
group 'org.reduxkotlin'
1110
version '0.2'
1211

1312
kotlin {
@@ -134,7 +133,7 @@ apply from: rootProject.file('gradle/publish.gradle')
134133
publishing {
135134
publications.all {
136135
// Rewrite all artifacts from using the project name to just 'runtime'.
137-
artifactId = artifactId.replace(project.name, 'redux-kotlin')
136+
artifactId = artifactId.replace(project.name, 'redux-kotlin-thunk')
138137
}
139138
}
140139

lib/src/test/kotlin/org/reduxkotlin/ApplyMiddlewareTest.kt

Lines changed: 0 additions & 91 deletions
This file was deleted.

lib/src/test/kotlin/org/reduxkotlin/CreateStoreSpec.kt

Lines changed: 0 additions & 122 deletions
This file was deleted.

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pluginManagement {
99
}
1010

1111
include ':lib'
12-
rootProject.name='Redux-Kotlin'
12+
rootProject.name='Redux-Kotlin-thunk'
1313

1414

1515
rootProject.name = 'test'

0 commit comments

Comments
 (0)