saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
519 stars 39 forks source link

Test maven plugin #1792

Closed nulls closed 8 months ago

nulls commented 8 months ago

Create a simple project on maven and configure maven plugin for diktat with version 2.0.0-rc.8

Todo:

Found issues:

orchestr7 commented 8 months ago

We already should have a simple maven project in our repo in examples

nulls commented 8 months ago

How to build snapshot version of plugin: gradlew.bat :diktat-api:publishToMavenLocal :diktat-common:publishToMavenLocal :diktat-rules:publishToMavenLocal :diktat-ktlint-engine:publishToMavenLocal :diktat-runner:publishToMavenLocal :diktat-maven-plugin:publishToMavenLocal

This command builds and uploads a snapshot version to maven local repository. Version is printed in logs:

Reckoned version: 2.0.0-rc.8.113+6211a81