From 597fa051833ca3df6eb185c0143ff82e02dacba1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 26 Sep 2017 01:35:13 +0200 Subject: push plugin ugh --- .../phonegap-plugin-push/stoneisland-push.gradle | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'StoneIsland/platforms/android/phonegap-plugin-push') diff --git a/StoneIsland/platforms/android/phonegap-plugin-push/stoneisland-push.gradle b/StoneIsland/platforms/android/phonegap-plugin-push/stoneisland-push.gradle index 11e735ae..1506191b 100644 --- a/StoneIsland/platforms/android/phonegap-plugin-push/stoneisland-push.gradle +++ b/StoneIsland/platforms/android/phonegap-plugin-push/stoneisland-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 +} -- cgit v1.2.3-70-g09d2