Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Incremental Java compile is disabled when an input source does not exist #8194
Gradle version: 5.1 (or more specifically 5.1-rc-3+, probably after this commit ca508b4)
Starting with Gradle 5.1-rc-3, incremental Java compile is disabled when an input source does not exist. Below is an example --info log:
Incremental Java compile should not be disabled when an input source does not exist.
We ran into this issue when updating the Android Gradle plugin to use Gradle 5.1. We have worked around the issue by removing non-existent input sources from the Java compile task (at task execution time). However, this probably still needs to be fixed on the Gradle side.