This and the one above are producing warnings; I don't know the proper gradle mojo for this, it was a hack.