forked from OutSystems/OneSignal-Cordova-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-extras-onesignal.gradle
36 lines (32 loc) · 1.03 KB
/
build-extras-onesignal.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
android.defaultConfig {
manifestPlaceholders = [
onesignal_app_id: '', // Use from js code
onesignal_google_project_number: 'REMOTE'
]
}
// Required for Android Support Library 26.0.0+ and Google Play services 11.+
repositories {
maven { url 'https://maven.google.com' }
}
// Adding Onesignal-Gradle-Plugin to align gms, android support library, and firebase
// dependencies between other plugins.
// Source for Onesignal-Gradle-Plugin: https://github.com/OneSignal/OneSignal-Gradle-Plugin
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2/'}
}
dependencies {
classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]'
}
}
apply plugin: com.onesignal.androidsdk.GradleProjectPlugin
// Local testing
// buildscript {
// repositories {
// maven { url uri('file:/full/paht/to/maven/repo/') }
// }
// dependencies {
// classpath 'com.onesignal:onesignal-gradle-plugin:[0.10.0, 0.99.99]'
// }
// }
// apply plugin: com.onesignal.androidsdk.GradleProjectPlugin