Minor refactoring in the build script of netbeans-gradle-default-models.