-
public final class GoogleServicesRulesKt
-
-
Method Summary
Modifier and Type Method Description final static UnittoolAndroidRepository(StatementsBuilder $self, BazelRepositoryRule repositoryRule)Imports and configures tools_android repo needed for crashlytics and google services support. final static AssigneegoogleServicesXml(StatementsBuilder $self, String packageName, String googleServicesJson)Adds a google services XML target required by crashlytics and other google services final static BazelDependencycrashlyticsAndroidLibrary(StatementsBuilder $self, String name, String packageName, String buildId, String resourceFiles)Add crashlytics_android_library target from tools_android repo. -
-
Method Detail
-
toolAndroidRepository
final static Unit toolAndroidRepository(StatementsBuilder $self, BazelRepositoryRule repositoryRule)
Imports and configures tools_android repo needed for crashlytics and google services support.
-
googleServicesXml
final static Assignee googleServicesXml(StatementsBuilder $self, String packageName, String googleServicesJson)
Adds a google services XML target required by crashlytics and other google services
- Parameters:
packageName- The package name for the generated targetgoogleServicesJson- The path to google_services.json relative to module.
-
crashlyticsAndroidLibrary
final static BazelDependency crashlyticsAndroidLibrary(StatementsBuilder $self, String name, String packageName, String buildId, String resourceFiles)
Add crashlytics_android_library target from tools_android repo.
- Parameters:
name- The name for this targetpackageName- The package name of the android binary targetbuildId- The build id generated from crashlyticsresourceFiles- The path to resource XML generated by google services xml target
-
-
-
-