Vitaly Pinchuk
10/04/2022, 11:34 AMgenerateDocumentation
task? https://github.com/detekt/detekt/blob/59bedc9eeda131b404dda44330e5cf4645e81fa1/detekt-generator/build.gradle.kts#L46
file("${rootProject.rootDir}/detekt-generator/build/libs/detekt-generator-${Versions.DETEKT}-all.jar"),
Brais Gabin
10/04/2022, 11:55 AMgenerateDocumentation
basically executes that jar to do its job.Vitaly Pinchuk
10/04/2022, 11:56 AMVitaly Pinchuk
10/04/2022, 11:57 AMBrais Gabin
10/04/2022, 11:59 AMgenerateDocumentation
work. And it that jar changes you should re-execute generateDocumentation
because the output could change. (Probably I'm missing something here, what's the problem with that line?)Vitaly Pinchuk
10/04/2022, 12:02 PMBrais Gabin
10/04/2022, 12:05 PM./gradlew generateDocumentation
• change something inside :detekt-generator that forces a change inside detekt-default-config.yml
• run ./gradlew generateDocumentation
<- This task should be UP-TO-DATE and the expected change inside detekt-default-config.yml
should not be applied.Brais Gabin
10/04/2022, 12:05 PMVitaly Pinchuk
10/04/2022, 12:06 PMVitaly Pinchuk
10/04/2022, 12:10 PMdetekt-generator-all.jar
file before (it is me who added that file and you helped me with that). And everything worked fine. 🙄Brais Gabin
10/04/2022, 12:42 PMVitaly Pinchuk
10/04/2022, 12:46 PM