Skip to content

Instantly share code, notes, and snippets.

@ivangarzab
Last active September 4, 2022 23:13
Show Gist options
  • Save ivangarzab/dba26220679f323369cf69649f00f42a to your computer and use it in GitHub Desktop.
Save ivangarzab/dba26220679f323369cf69649f00f42a to your computer and use it in GitHub Desktop.
android {
...
}
tasks.whenTaskAdded { task ->
if (task.name.startsWith('assemble') && task.name != "assembleReleaseAndroidTest" && task.name != "assembleDebugAndroidTest") {
task.finalizedBy "uploadCrashlyticsSymbolFile" + task.name.substring('assemble'.length())
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment