This project reproduces a potential SBT bug. Indicated by failing tests:
Setup:
-
An auto plugin generates a file. It adds this file to the
cleanFiles
list (see source code). -
We add the plugin to the project (see source code)
Test (see test definition):
-
We first invoke the plugin's file generation and verify that the file was created.
-
Finally, we invoke
clean
on the project.
Expected behaviour:
- The generated file should be deleted.
Observed behaviour:
- The file is not deleted.