summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/phonegap-plugin-push/push.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/plugins/phonegap-plugin-push/push.gradle')
-rw-r--r--StoneIsland/plugins/phonegap-plugin-push/push.gradle18
1 files changed, 18 insertions, 0 deletions
diff --git a/StoneIsland/plugins/phonegap-plugin-push/push.gradle b/StoneIsland/plugins/phonegap-plugin-push/push.gradle
index 11e735ae..1506191b 100644
--- a/StoneIsland/plugins/phonegap-plugin-push/push.gradle
+++ b/StoneIsland/plugins/phonegap-plugin-push/push.gradle
@@ -16,6 +16,24 @@ android {
}
defaultConfig {
+ multiDexEnabled true
applicationId = doExtractStringFromManifest("package")
}
}
+
+buildscript {
+ repositories {
+ jcenter()
+ mavenLocal()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:+'
+ classpath 'com.google.gms:google-services:3.0.0'
+ }
+}
+
+// apply plugin: 'com.google.gms.google-services'
+// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
+ext.postBuildExtras = {
+ apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
+}