Skip to content

Commit b1ca319

Browse files
authored
Merge pull request #12 from kmmraj/master
Update Kotlin RT and Readme.md
2 parents 9a4a919 + 20a5295 commit b1ca319

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,9 @@ ReKotlinRouter needs to throttle the navigation actions, since many UI framework
185185
Currently the only way to change the current application route is by using the `SetRouteAction` and providing an absolute route. Here's a brief example:
186186

187187
```Kotlin
188-
mEmailSignInButton.setOnClickListener {
189-
mainStore.dispatch(LoginAction(userName = mETEmail.text.toString(),
190-
password = mETPassword.text.toString()))
191-
}
188+
val routes = arrayListOf(loginRoute, repoListRoute)
189+
val action = SetRouteAction(route = routes)
190+
mainStore.dispatch(action)
192191
```
193192
As development continues, support for changing individual route segments will be added.
194193

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version '0.1.0-SNAPSHOT'
66

77
buildscript {
88
ext {
9-
kotlin_version = '1.1.50'
9+
kotlin_version = '1.2.50'
1010
dokka_version = '0.9.15'
1111
rekotlin_version = '1.1.1'
1212
gradle_bintray_plugin_version = "1.4"

rekotlin-router/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ apply plugin: 'maven-publish'
99

1010

1111
group 'org.rekotlin-router'
12-
version '0.1.9'
12+
version '0.2.0'
1313

1414

1515
ext {
@@ -38,7 +38,7 @@ ext {
3838
siteUrl = 'https://github.com/kmmraj/rekotlin-router'
3939
gitUrl = 'https://github.com/kmmraj/rekotlin-router.git'
4040

41-
libraryVersion = '0.1.9'
41+
libraryVersion = '0.2.0'
4242

4343
developerId = 'developerId'
4444
developerName = 'Mohanraj K.M.'
@@ -58,7 +58,7 @@ android {
5858
minSdkVersion 16
5959
targetSdkVersion 25
6060
versionCode 1
61-
versionName "0.1.9"
61+
versionName "0.2.0"
6262
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
6363

6464
}
@@ -90,7 +90,7 @@ dependencies {
9090
exclude group: 'com.android.support', module: 'support-annotations'
9191
})
9292
implementation "com.android.support:appcompat-v7:$android_support_lib_version"
93-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
93+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
9494

9595
compileOnly "org.rekotlin:rekotlin:$rekotlin_version"
9696
testImplementation "org.rekotlin:rekotlin:$rekotlin_version"

0 commit comments

Comments
 (0)