Skip to content

Instantly share code, notes, and snippets.

View GroovinChip's full-sized avatar
🍪

Reuben Turner GroovinChip

🍪
View GitHub Profile
@GroovinChip
GroovinChip / gist:2e63a0f7b150a49082174e7f1a18dcd5
Last active September 20, 2019 14:01
Codemagic Android release build help
1. Use Gradle 4.10.2 (DO NOT use 5.x)
2. Use 'com.android.tools.build:gradle:3.3.0' in your project-level build.gradle
3. Add this to the very bottom of your app-level build.gradle:
gradle.taskGraph.whenReady { taskGraph ->
def tasks = taskGraph.getAllTasks()
def buildTasks = tasks.find { it.name.startsWith('build') && it.getGroup() == 'build' }
if (buildTasks) {
tasks.findAll {it.name.startsWith('test')}.each { task ->
task.enabled = false