Commit 7bca8c2a authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

update some deps

parent 4c2572e7
...@@ -65,13 +65,14 @@ dependencies { ...@@ -65,13 +65,14 @@ dependencies {
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'androidx.core:core-ktx:1.0.2' implementation 'androidx.core:core-ktx:1.1.0'
//Koin //Koin
implementation "org.koin:koin-core:$koinVersion" implementation "org.koin:koin-core:$koinVersion"
implementation "org.koin:koin-core-ext:$koinVersion" implementation "org.koin:koin-core-ext:$koinVersion"
implementation "org.koin:koin-android:$koinVersion" implementation "org.koin:koin-android:$koinVersion"
implementation "org.koin:koin-android-scope:$koinVersion" implementation "org.koin:koin-android-scope:$koinVersion"
implementation "org.koin:koin-androidx-scope:$koinVersion"
//Material //Material
......
...@@ -26,8 +26,6 @@ class RoomParkMainActivity( ...@@ -26,8 +26,6 @@ class RoomParkMainActivity(
,IConductorActivity ,IConductorActivity
,IBottomNavigation{ ,IBottomNavigation{
private val snackbarProvider: ISnackBarProvider by currentScope.inject() private val snackbarProvider: ISnackBarProvider by currentScope.inject()
private lateinit var router: Router private lateinit var router: Router
......
...@@ -2,6 +2,7 @@ package com.biganto.visual.roompark.di.koin ...@@ -2,6 +2,7 @@ package com.biganto.visual.roompark.di.koin
import com.biganto.visual.roompark.base.RoomParkApplication import com.biganto.visual.roompark.base.RoomParkApplication
import com.biganto.visual.roompark.base.RoomParkMainActivity import com.biganto.visual.roompark.base.RoomParkMainActivity
import com.biganto.visual.roompark.view_utils.snackbar.SnackBarProvider
import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin import org.koin.core.context.startKoin
...@@ -30,7 +31,7 @@ val appModule = module{ ...@@ -30,7 +31,7 @@ val appModule = module{
val scopesModule = module { val scopesModule = module {
scope(named<RoomParkMainActivity>()){ scope(named<RoomParkMainActivity>()){
scoped { StartUpData("ja pesik!") } scoped { SnackBarProvider(get()) }
} }
} }
......
...@@ -13,7 +13,7 @@ ext { ...@@ -13,7 +13,7 @@ ext {
// requeryVersion = '1.5.1' // requeryVersion = '1.5.1'
// rxBindingVersion = '2.1.1' // rxBindingVersion = '2.1.1'
conductorVersion = '3.0.0-rc1' conductorVersion = '3.0.0-rc1'
materialVersion = '1.1.0-alpha09' materialVersion = '1.1.0-alpha10'
gradleVersion = '3.5.0' gradleVersion = '3.5.0'
koinVersion = '2.0.1' koinVersion = '2.0.1'
timberVersion = '4.7.1' timberVersion = '4.7.1'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment