Make methods static
Groovy syntac
Only use android application variant if available