Increase gradle heap size
Increase gradle heap size

The update to Gradle 5.1.1 decreased the default heap size to 512MB and our
build runs into Out-of-Memory errors.

Setting the gradle flags to higher values instead.

See https://developer.android.com/studio/releases/gradle-plugin#3-4-0

PiperOrigin-RevId: 247908526

amzn/exoplayer-amazon-port,androidx/media,ened/ExoPlayer,superbderrick/ExoPlayer,androidx/media,amzn/exoplayer-amazon-port,stari4ek/ExoPlayer,stari4ek/ExoPlayer,ened/ExoPlayer,superbderrick/ExoPlayer,superbderrick/ExoPlayer,amzn/exoplayer-amazon-port,androidx/media,google/ExoPlayer,google/ExoPlayer,google/ExoPlayer,stari4ek/ExoPlayer,ened/ExoPlayer