Skip to content

Commit 777aee3

Browse files
authored
Merge pull request #68 from reduxkotlin/doc/0.5.5-update
update docs for 0.5.5
2 parents 0c87b30 + a42ca29 commit 777aee3

File tree

5 files changed

+39
-32
lines changed

5 files changed

+39
-32
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Unreleased
22

3+
## [0.5.5] - 2020-08-16
4+
- update to Kotlin 1.4.0
5+
- added platforms (androidNativeArm32, androidNativeArm64, iosArm32, linuxArm64, linuxX64,
6+
mingwX86, tvosArm64, tvosX64, watchosArm32, watchosArm64, watchosX86)
7+
- remove spek & atrium deps and use plain kotlin tests & assertions. Tests run for all platforms now.
8+
39
## [0.5.2] - 2020-07-03
410
- publish all available platforms to maven
511
- add CI/CD through github actions

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![CI](https://github.com/reduxkotlin/redux-kotlin/workflows/CI/badge.svg)
44

55
![badge][badge-android]
6+
![badge][badge-ios]
67
![badge][badge-native]
78
![badge][badge-js]
89
![badge][badge-jvm]
@@ -27,7 +28,7 @@ Provide a standard redux implementation for Kotlin. In doing so will foster a e
2728

2829
Redux in Kotlin, and in mobile in particular, may differ a bit from javascript. Many have found the basic pattern useful on Android & iOS leading to tens of opensource redux libraries in Kotlin, Java, and Swift, yet an ecosystem has yet to emerge. A port of javascript redux is a good starting point for creating a standard and will aid in cross-pollination of middleware, store enhancers, & dev tools from the javascript world.
2930

30-
Redux has proven helpful for state managment in mobile. A multiplatform Kotlin implementation & ecosystem will increase developer productivity and code reuse across platforms.
31+
Redux has proven helpful for state management in mobile. A multiplatform Kotlin implementation & ecosystem will increase developer productivity and code reuse across platforms.
3132

3233
[Droidcon NYC Slides](https://www.slideshare.net/PatrickJackson14/reduxkotlinorg-droidcon-nyc-2019)
3334
Video TBA
@@ -46,15 +47,15 @@ kotlin {
4647
sourceSets {
4748
commonMain { // <--- name may vary on your project
4849
dependencies {
49-
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.2"
50+
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.5"
5051
}
5152
}
5253
}
5354
```
5455

5556
For JVM only:
5657
```
57-
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.2"
58+
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.5"
5859
```
5960

6061
*Non threadsafe store is available. Typical usage will be with the threadsafe store. [More info read here](https://www.reduxkotlin.org/introduction/getting-started)

gradle/publish.gradle

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ dokka {
2020
path = kotlin.sourceSets.commonMain.kotlin.srcDirs[0]
2121
platforms = ["Common"]
2222
}
23-
if (kotlin.sourceSets.getNames().contains("jvmMain")) {
24-
sourceRoot {
25-
// assuming there is only a single source dir...
26-
path = kotlin.sourceSets.jvmMain.kotlin.srcDirs[0]
27-
platforms = ["JVM"]
28-
}
29-
}
30-
if (kotlin.sourceSets.getNames().contains("jsMain")) {
31-
sourceRoot {
32-
// assuming there is only a single source dir...
33-
path = kotlin.sourceSets.jsMain.kotlin.srcDirs[0]
34-
platforms = ["js"]
35-
}
36-
}
37-
if (kotlin.sourceSets.getNames().contains("nativeMain")) {
38-
sourceRoot {
39-
// assuming there is only a single source dir...
40-
path = kotlin.sourceSets.nativeMain.kotlin.srcDirs[0]
41-
platforms = ["native"]
42-
}
43-
}
23+
// if (kotlin.sourceSets.getNames().contains("jvmMain")) {
24+
// sourceRoot {
25+
// // assuming there is only a single source dir...
26+
// path = kotlin.sourceSets.jvmMain.kotlin.srcDirs[0]
27+
// platforms = ["JVM"]
28+
// }
29+
// }
30+
// if (kotlin.sourceSets.getNames().contains("jsMain")) {
31+
// sourceRoot {
32+
// // assuming there is only a single source dir...
33+
// path = kotlin.sourceSets.jsMain.kotlin.srcDirs[0]
34+
// platforms = ["js"]
35+
// }
36+
// }
37+
// if (kotlin.sourceSets.getNames().contains("nativeMain")) {
38+
// sourceRoot {
39+
// // assuming there is only a single source dir...
40+
// path = kotlin.sourceSets.nativeMain.kotlin.srcDirs[0]
41+
// platforms = ["native"]
42+
// }
43+
// }
4444
}
4545

4646
def isReleaseBuild() {
@@ -76,10 +76,10 @@ task javadocsJar(type: Jar, dependsOn: dokka) {
7676

7777
signing {
7878
required { isReleaseBuild() /*&& gradle.taskGraph.hasTask("uploadArchives") */ }
79-
def signingKey = findProperty("GPG_SECRET") ?: System.getenv('GPG_SECRET') ?: ""
80-
def signingPassword = findProperty("GPG_SIGNING_PASSWORD") ?: System.getenv('GPG_SIGNING_PASSWORD') ?: ""
81-
useInMemoryPgpKeys(signingKey, signingPassword)
82-
sign(publishing.publications)
79+
// def signingKey = findProperty("GPG_SECRET") ?: System.getenv('GPG_SECRET') ?: ""
80+
// def signingPassword = findProperty("GPG_SIGNING_PASSWORD") ?: System.getenv('GPG_SIGNING_PASSWORD') ?: ""
81+
// useInMemoryPgpKeys(signingKey, signingPassword)
82+
// sign(publishing.publications)
8383
}
8484

8585
publishing {

website/docs/introduction/GettingStarted.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ kotlin {
3333
sourceSets {
3434
commonMain {
3535
dependencies {
36-
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.2"
36+
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.5"
3737
}
3838
}
3939
}
@@ -47,11 +47,11 @@ __For single platform project (i.e. just Android):__
4747

4848
```groovy
4949
dependencies {
50-
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.2"
50+
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.5"
5151
}
5252
```
5353

54-
NOTE: If threadsafety is not a concern (i.e. a JS only project) "org.reduxkotlin:redux-kotlin:0.5.2" may be used.
54+
NOTE: If threadsafety is not a concern (i.e. a JS only project) "org.reduxkotlin:redux-kotlin:0.5.5" may be used.
5555
[**More info on threading available here.**](/introduction/threading)
5656

5757
## Basic Example

website/docs/introduction/Threading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ kotlin {
7474
sourceSets {
7575
commonMain {
7676
dependencies {
77-
implementation "org.reduxkotlin:redux-kotlin:0.5.2"
77+
implementation "org.reduxkotlin:redux-kotlin:0.5.5"
7878
}
7979
}
8080
}

0 commit comments

Comments
 (0)