build.gradle 'apply from' changed to take ext arg