mercredi 19 octobre 2016

Custom Gradle task to build all projects without testing?

I know I can execute 'gradle build -x test', but is there a way to create a custom Gradle task, say, buildNoTests, which will build all of my projects but will completely ignore tests (don't compile/run them)?

I read that the 'assemble' task is not enough as it may miss other tasks which are not tests but are included in the 'build' task.

Aucun commentaire:

Enregistrer un commentaire