diktat
diktat copied to clipboard
Integrate `info` to main gradle project
We have a separate module info which builds documentation for diktat. It has own buildSrc and it's a separate gradle project.
Need to integrate to main gradle project to allow to use it as part of main gradle task.
Also, looks like is not merged fully from maven:
// info/buildSrc/build.gradle.kts
flatDir {
dirs(
"$rootDir/../../diktat-rules/target",
"$rootDir/../../diktat-common/target"
)
}
It's a code generation written on Gradle. It uses diktat-rules as dependency in buildSrc.
As a solution: we can move Warnings and Charters to toml files and generates enum Warnings and Charters based on it.
It will allow to remove diktat-ksp-dev module and integrate info to main build
Note: If info/buildSrc move to a dedicated composite build (includeBuild("blabla")), it requires to apply some plugin from this new composite build to resolve imports from this build