[GRADLE-2440] JavaCompile task does not remove stale classes when all source files are removed Created: 20/Aug/12  Updated: 05/Oct/16  Resolved: 05/Oct/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 3.2-rc-1

Type: Bug
Reporter: Adam Murdoch Assignee: Unassigned
Resolution: Fixed Votes: 5

Issue Links:
Duplicate
Duplicates GRADLE-2579 SourceTask is always up-to-date after... Resolved

 Description   

To reproduce:

  • Run gradle classes on a project with some Java source files.
  • Delete all source files.
  • Run gradle classes again. The old .class files are left.


 Comments   
Comment by Lóránt Pintér [ 05/Oct/16 ]

Now tasks clean up their previous output after all their sources are gone.

Generated at Wed Jun 30 12:21:58 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.