Search Gradle plugins

Version 0.1.0-indev07

0.1.0-indev07

Created 24 October 2023.

ktlint Git-hook installation plugin

Using the plugins DSL:

plugins {
  id("io.github.mfederczuk.ktlint") version "0.1.0-indev07"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.mfederczuk:ktlint-gradle-plugin:0.1.0-indev07")
  }
}

apply(plugin = "io.github.mfederczuk.ktlint")

Using the plugins DSL:

plugins {
  id "io.github.mfederczuk.ktlint" version "0.1.0-indev07"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.mfederczuk:ktlint-gradle-plugin:0.1.0-indev07"
  }
}

apply plugin: "io.github.mfederczuk.ktlint"

Learn how to apply plugins to subprojects