Next, you’ll want to apply the ktlint-gradle plugin to the various modules within your project. If you can’t, or prefer not to, use the Gradle plugins DSL you could add the dependency like this: // root-level adleĬlasspath ":ktlint-gradle:7.1.0"Īpply the ktlint-gradle plugin to all subprojects In this case, the version is "7.1.0" and could be substituted for whatever the current version is. If using a version of Gradle which supports the plugins DSL, you can add ktlint-gradle to your project with the following code: // root-level adle Add the ktlint-gradle plugin to your root-level adle fileĪpply the ktlint-gradle plugin to any Gradle modules that you would like to checkĬheck that ktlintCheck and ktlintFormat tasks have been added for your various build targets
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |