Skip to content

Commit 5f6fb58

Browse files
committed
Merge branch 'release/3.4.1'
2 parents 944ad6b + f68005f commit 5f6fb58

File tree

8 files changed

+24
-25
lines changed

8 files changed

+24
-25
lines changed

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
*.iml
22
.gradle
33
/local.properties
4-
/.idea/caches
5-
/.idea/libraries
6-
/.idea/modules.xml
7-
/.idea/workspace.xml
8-
/.idea/navEditor.xml
9-
/.idea/assetWizardSettings.xml
4+
/.idea
105
.DS_Store
116
/build
127
/captures

CHANGELOG.md

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

3+
## 3.4.1 (2024-11-05)
4+
* bump Kotlin to 2.0.20, Gradle plugin to 8.7.2
5+
* bump core-ktx to 1.15.0, appcompat to 1.7.0, material to 1.12.0
6+
37
## 3.4.0 (2023-10-27)
48
* Calling `navigateBack` will take stack into consideration instead of calling default back press.
59
* Calling `dismissOpenBottomSheet` or `dismissOpenDialog` will now return `Boolean` indicating whether open sheet or dialog was dismissed or not.

app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ android {
4646
dependencies {
4747
implementation project(':singleactivitynavigation')
4848

49-
implementation 'androidx.core:core-ktx:1.12.0'
50-
implementation 'androidx.appcompat:appcompat:1.6.1'
51-
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
52-
implementation 'com.google.android.material:material:1.10.0'
49+
implementation 'androidx.core:core-ktx:1.15.0'
50+
implementation 'androidx.appcompat:appcompat:1.7.0'
51+
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
52+
implementation 'com.google.android.material:material:1.12.0'
5353

54-
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
54+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.14'
5555

5656
testImplementation 'junit:junit:4.13.2'
57-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
58-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
57+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
58+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
5959
}

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext {
3-
kotlin_version = "1.9.10" /* https://github.com/JetBrains/kotlin */
4-
dokka_version = '1.9.10' /* https://github.com/Kotlin/dokka/releases */
3+
kotlin_version = "2.0.20" /* https://github.com/JetBrains/kotlin */
4+
dokka_version = '1.9.20' /* https://github.com/Kotlin/dokka/releases */
55
}
66

77
repositories {
@@ -10,7 +10,7 @@ buildscript {
1010
}
1111

1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:8.1.2'
13+
classpath 'com.android.tools.build:gradle:8.7.2'
1414
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1515
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
1616
}
@@ -24,5 +24,5 @@ allprojects {
2424
}
2525

2626
tasks.register('clean', Delete) {
27-
delete rootProject.buildDir
27+
delete rootProject.layout.buildDirectory
2828
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Aug 29 10:21:25 CEST 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

singleactivitynavigation/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ android {
4141
}
4242

4343
dependencies {
44-
implementation 'androidx.core:core-ktx:1.12.0'
45-
implementation 'androidx.appcompat:appcompat:1.6.1'
46-
implementation 'com.google.android.material:material:1.10.0'
44+
implementation 'androidx.core:core-ktx:1.15.0' /* https://developer.android.com/jetpack/androidx/releases/core */
45+
implementation 'androidx.appcompat:appcompat:1.7.0' /* https://developer.android.com/jetpack/androidx/releases/appcompat */
46+
implementation 'com.google.android.material:material:1.12.0' /* https://github.com/material-components/material-components-android/releases */
4747

4848
testImplementation 'junit:junit:4.13.2'
49-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
50-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
49+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
50+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
5151
}
5252

5353
apply from: "$rootDir/gradle-mvn-push.gradle"

singleactivitynavigation/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ buildTypes=debug,release
33
groupId=com.github.mvojtkovszky
44
artifactId=SingleActivityNavigation
55
moduleId=singleactivitynavigation
6-
versionName=3.4.0
6+
versionName=3.4.1

singleactivitynavigation/src/main/kotlin/com/vojtkovszky/singleactivitynavigation/BaseSingleFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ abstract class BaseSingleFragment: Fragment() {
206206

207207
override fun onCreate(savedInstanceState: Bundle?) {
208208
super.onCreate(savedInstanceState)
209-
fragmentType = FragmentType.values().firstOrNull {
209+
fragmentType = FragmentType.entries.firstOrNull {
210210
it.name == arguments?.getString(ARG_FRAGMENT_TYPE_NAME) } ?: FragmentType.INVALID
211211
translationZ = arguments?.getFloat(ARG_TRANSLATION_Z) ?: 0f
212212

0 commit comments

Comments
 (0)