Skip to content

Instantly share code, notes, and snippets.

@runningcode
Last active September 28, 2020 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save runningcode/0d609fb1f40d7653499cacbb4e321128 to your computer and use it in GitHub Desktop.
Save runningcode/0d609fb1f40d7653499cacbb4e321128 to your computer and use it in GitHub Desktop.
Workaround for Google Play Services Gradle Plugin Memory Leak
gradle.buildFinished {
// Null out this static field which continues to grow with every build.
// Remove when this is released: https://github.com/google/play-services-plugins/pull/155
// https://github.com/google/play-services-plugins/issues/156
com.google.android.gms.StrictVersionMatcherPlugin.globalDependencies = null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment