Skip to content

Commit f57d002

Browse files
committed
chore: bump gradle
1 parent 469ece2 commit f57d002

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

packages/firebase_database/firebase_database/android/local-config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ext {
33
minSdk=23
44
targetSdk=34
55
javaVersion = JavaVersion.toVersion(17)
6-
androidGradlePluginVersion = '8.3.0'
6+
androidGradlePluginVersion = '8.6.0'
77
}

packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/FlutterDataSnapshotPayload.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class FlutterDataSnapshotPayload(snapshot: DataSnapshot) {
1616
val snapshotMap = mutableMapOf<String, Any>()
1717

1818
snapshotMap[Constants.KEY] = snapshot.key ?: ""
19-
snapshotMap[Constants.VALUE] = snapshot.value ?: null
20-
snapshotMap[Constants.PRIORITY] = snapshot.priority ?: null
19+
snapshotMap[Constants.VALUE] = snapshot.value
20+
snapshotMap[Constants.PRIORITY] = snapshot.priority
2121

2222
val childrenCount = snapshot.childrenCount.toInt()
2323
if (childrenCount == 0) {

packages/firebase_database/firebase_database/android/src/main/kotlin/io/flutter/plugins/firebase/database/TransactionHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class TransactionHandler @JvmOverloads constructor(
3636
val transactionArgs = mutableMapOf<String, Any>()
3737

3838
snapshotMap[Constants.KEY] = currentData.key ?: ""
39-
snapshotMap[Constants.VALUE] = currentData.value ?: null
39+
snapshotMap[Constants.VALUE] = currentData.value
4040

4141
transactionArgs[Constants.SNAPSHOT] = snapshotMap
4242
transactionArgs[Constants.TRANSACTION_KEY] = transactionKey

tests/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

tests/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.3.0" apply false
21+
id "com.android.application" version "8.6.0" apply false
2222
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

0 commit comments

Comments
 (0)