io.github.mfederczuk.ktlint
Owner: Michael Federczuk
ktlint Git-hook installation plugin
https://github.com/mfederczuk/ktlint-gradle-plugin#readme
Sources: https://github.com/mfederczuk/ktlint-gradle-plugin.git
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.mfederczuk.ktlint") version "0.1.0-indev08"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.github.mfederczuk.ktlint:io.github.mfederczuk.ktlint.gradle.plugin:0.1.0-indev08") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.mfederczuk.ktlint") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.mfederczuk.ktlint:io.github.mfederczuk.ktlint.gradle.plugin:0.1.0-indev08") } } apply(plugin = "io.github.mfederczuk.ktlint")
- Applying plugins to all subprojects .