We've got an android project with gradle sub projects inside a root project. We have some default configuration defined in rootProject.ext and used in the sub project. After applying the plugin the property defined in rootProject.ext seems to be overwritten and ./gradlew build throws groovy.lang.MissingPropertyException defaultConfig on extra properties extension as it does not exist. If we comment out the apply plugin statement everything works fine. Any idea why is this happened? Thanks ahead.
We've got an android project with gradle sub projects inside a root project. We have some default configuration defined in
rootProject.ext
and used in the sub project. After applying the plugin the property defined inrootProject.ext
seems to be overwritten and./gradlew build
throws groovy.lang.MissingPropertyExceptiondefaultConfig
on extra properties extension as it does not exist. If we comment out the apply plugin statement everything works fine. Any idea why is this happened? Thanks ahead.