Skip to content

Commit

Permalink
Merge pull request #1957 from Infomaniak/update-gradle
Browse files Browse the repository at this point in the history
Update gradle to 8.7 and plugin gradle to 8.5.0
  • Loading branch information
tevincent committed Jul 12, 2024
2 parents ce6fdaf + 2e2e096 commit ac340da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package com.infomaniak.mail.utils

import android.annotation.SuppressLint
import android.app.*
import android.content.Context
import android.content.Intent
Expand Down Expand Up @@ -161,6 +162,7 @@ class NotificationUtils @Inject constructor(
showNotifications(scope, mailboxId, notificationManagerCompat)
}

@SuppressLint("WrongConstant")
private fun getContentIntent(
payload: NotificationPayload,
isUndo: Boolean,
Expand Down Expand Up @@ -240,6 +242,7 @@ class NotificationUtils @Inject constructor(
}
}

@SuppressLint("WrongConstant")
private fun NotificationCompat.Builder.addActions(payload: NotificationPayload) {

fun createBroadcastAction(@StringRes title: Int, intent: Intent): NotificationCompat.Action {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
androidGradlePlugin = "8.2.2"
androidGradlePlugin = "8.5.0"
dotsindicator = "5.0"
dragdropswipeRecyclerview = "1.2.0"
firebaseMessagingKtx = "23.4.1" # Doesn't build when bumped to 24.0.0
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Mar 31 08:35:17 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ac340da

Please sign in to comment.