После обновления до AS 1.0 RC 1 и плагина 0.14.4 у меня возникают проблемы с частью переименования моего build.gradle:
applicationVariants.all { variant ->
def file = variant.outputFile
variant.outputFile = new File(file.parent, file.name.replace(".apk", "-" + defaultConfig.versionName + ".apk"))
}
теперь бросается:
Error:(78, 0) Could not find property 'outputFile' on com.and[email protected]67e7625f.
а также я не могу перейти к классу ApplicationVariantImpl, чтобы посмотреть, как свойство могло быть переименовано. Кто-нибудь знает обходные пути для этого?