Add a test to check if the task caching works for ktfmtCheck task with multiple different sourceSets (If both contain the same amount if files, the file is identical and therefore the task caching works)
Append the task name to the outputFile. This seems to be easier then the sourceSet name, because the sourceSet name would have to be passed in in the ktfmtBaseTask.
๐ Description
๐ Motivation and Context
Fixes https://github.com/cortinico/ktfmt-gradle/issues/288
๐งช How Has This Been Tested?
An integration test was added. Before the changes, the test fails.
๐ฆ Types of changes
If you see the outputFile as part of the public API, then this would be a breaking change. I am not aware of a real usecase for the file.
โ Checklist