Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick gradle config snippet to show how to work around circle ci android build memory issues. This will disable pre-dexing libraries on Circle CI while enabling it locally.
android {
dexOptions {
def filecheck = new File( 'local.properties' )
if (filecheck.exists()) {
preDexLibraries true
} else {
preDexLibraries false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment