Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate info to main gradle project #1840

Open
nulls opened this issue Dec 1, 2023 · 1 comment
Open

Integrate info to main gradle project #1840

nulls opened this issue Dec 1, 2023 · 1 comment
Assignees
Milestone

Comments

@nulls
Copy link
Member

nulls commented Dec 1, 2023

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"
        )
    }
@nulls nulls added this to the 2.1.0 milestone Dec 1, 2023
@nulls
Copy link
Member Author

nulls commented Dec 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants