convention.gradle: Fix warning for gradle 2.0