RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 406 forks source link

Remove configureondemand gradle configuration to fix build issue #271

Closed hegazy closed 6 years ago

hegazy commented 6 years ago

Solves the following build error Configuration on demand is not supported by the current version of the Android Gradle plugin since you are using Gradle version 4.6 or above. Suggestion: disable configuration on demand by setting org.gradle.configureondemand=false in your gradle.properties file or use a Gradle version less than 4.6.

By setting org.gradle.configureondemand to false as stated in the error message, it doesn't work so it seems that there is a bug in the configuration that could be solved by removing the property from the file.

Diolor commented 6 years ago

~Hmm not really. Master branch compiles fine with the default false value or do I miss something?~ Just read your comment in the 2.3.0 issue. Let's try this. Thanks