Package 

Class GoogleServicesKt

    • Method Summary

      Modifier and Type Method Description
      final static String findGoogleServicesJson(List<BaseVariant> variants, Project project) Given a android binary project, will try to find the google-services.json required for google services integration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findGoogleServicesJson

         final static String findGoogleServicesJson(List<BaseVariant> variants, Project project)

        Given a android binary project, will try to find the google-services.json required for google services integration.

        The logic is partially inspired from https://github.com/google/play-services-plugins/blob/cce869348a9f4989d4a77bf9595ab6c073a8c441/google-services-plugin/src/main/groovy/com/google/gms/googleservices/GoogleServicesTask.java#L532

        Parameters:
        variants - The active variants for which google-services.json should be search for.
        project - The gradle project instance