Skip to content

Instantly share code, notes, and snippets.

@runningcode
Last active September 28, 2020 16:22
Show Gist options
  • 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