b7d97a3aa2
#KT-14250 fixed Before this change the following could happen: 0. Successful build. 1. Only java files are changed. 2. CompileKotlin task starts because java files are also input files for kotlin. 3. annotations.txt file is deleted, but kotlin compiler is not called, so it is not regenerated. 4. Javac fails.