Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gradle to 8.7 and plugin gradle to 8.5.0 #1957

Merged
merged 2 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading