Skip to content

Commit 30296d1

Browse files
author
Mikhail Fedotov
committed
Update dependencies
1 parent f0945e4 commit 30296d1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/src/main/java/ru/nsk/kstatemachinesample/ui/main/MainViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class MainViewModel : ViewModel() {
118118
}
119119

120120
fun reloadAmmo() {
121-
val state = machine.requireState("Fire").requireState(Shooting.NAME) as Shooting
121+
val state = machine.requireState(Shooting.NAME) as Shooting
122122
state.reload()
123123
}
124124
}

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext.kotlin_version = "1.5.10"
3+
ext.kotlin_version = "1.5.30"
44
repositories {
55
google()
66
mavenCentral()
77
}
88
dependencies {
9-
classpath "com.android.tools.build:gradle:4.2.1"
9+
classpath "com.android.tools.build:gradle:4.2.2"
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111

1212
// NOTE: Do not place your application dependencies here; they belong
@@ -28,14 +28,14 @@ ext {
2828
minSdkVersion = 23
2929

3030
// dependencies
31-
coreVersion = "1.5.0"
32-
appcompatVersion = "1.3.0"
33-
constraintlayoutVersion = "2.0.4"
31+
coreVersion = "1.6.0"
32+
appcompatVersion = "1.3.1"
33+
constraintlayoutVersion = "2.1.0"
3434
koinVersion = "2.2.2"
3535
lifecycleVersion = "2.3.1"
36-
startupVersion = "1.0.0"
37-
materialVersion = "1.3.0"
38-
kstatemachineVersion = "0.6.0"
36+
startupVersion = "1.1.0"
37+
materialVersion = "1.4.0"
38+
kstatemachineVersion = "0.6.1"
3939
}
4040

4141
task clean(type: Delete) {

0 commit comments

Comments
 (0)