Skip to content

Commit 024ec97

Browse files
Merge pull request #273103 from sethmanheim/anh-gradle
Fix gradle snippet
2 parents 9b097df + a179c84 commit 024ec97

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

articles/notification-hubs/android-sdk.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Send push notifications to Android using Azure Notification Hubs and Fire
33
description: In this tutorial, you learn how to use Azure Notification Hubs and Google Firebase Cloud Messaging to send push notifications to Android devices (version 1.0.0-preview1).
44
author: sethmanheim
55
ms.author: sethm
6-
ms.date: 03/14/2024
6+
ms.date: 04/23/2024
77
ms.topic: tutorial
88
ms.service: notification-hubs
99
ms.reviewer: heathertian
@@ -183,10 +183,13 @@ also have the connection strings that are necessary to send notifications to a d
183183
2. Add the following repository after the dependencies section:
184184

185185
```gradle
186-
repositories {
187-
maven {
188-
url "https://dl.bintray.com/microsoftazuremobile/SDK"
189-
}
186+
dependencyResolutionManagement {
187+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
188+
repositories {
189+
google()
190+
mavenCentral()
191+
maven { url 'https://example.io' }
192+
}
190193
}
191194
```
192195

0 commit comments

Comments
 (0)