fixed app dir problem with update to gradle.