From 7128fd52bdc8c26097aae8359e4ca4f9238744a0 Mon Sep 17 00:00:00 2001 From: Chris Banes Date: Fri, 19 Jul 2019 08:20:31 +1000 Subject: [PATCH] Fix Santa not building --- jetpack/src/{debug => main}/res/values/game_ids_jetpack.xml | 0 .../src/debug => playgames/src/main}/res/values/game_ids.xml | 0 santa-tracker/build.gradle | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) rename jetpack/src/{debug => main}/res/values/game_ids_jetpack.xml (100%) rename {jetpack/src/debug => playgames/src/main}/res/values/game_ids.xml (100%) diff --git a/jetpack/src/debug/res/values/game_ids_jetpack.xml b/jetpack/src/main/res/values/game_ids_jetpack.xml similarity index 100% rename from jetpack/src/debug/res/values/game_ids_jetpack.xml rename to jetpack/src/main/res/values/game_ids_jetpack.xml diff --git a/jetpack/src/debug/res/values/game_ids.xml b/playgames/src/main/res/values/game_ids.xml similarity index 100% rename from jetpack/src/debug/res/values/game_ids.xml rename to playgames/src/main/res/values/game_ids.xml diff --git a/santa-tracker/build.gradle b/santa-tracker/build.gradle index d6d5eac6a..5caaa1689 100644 --- a/santa-tracker/build.gradle +++ b/santa-tracker/build.gradle @@ -151,5 +151,7 @@ dependencies { androidTestImplementation rootProject.ext.testingSupportRules } -apply plugin: 'com.google.gms.google-services' +if (project.file('google-services.json').exists()) { + apply plugin: 'com.google.gms.google-services' +} apply plugin: 'com.google.android.gms.oss-licenses-plugin' \ No newline at end of file