Search Gradle plugins

Version 0.9.0

0.9.0

Created 29 August 2022.

A Gradle plugin to run ktfmt formatter on your build

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.ncorti.ktfmt.gradle") version "0.9.0"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.ncorti.ktfmt.gradle:plugin:0.9.0")
      }
    }
    
    apply(plugin = "com.ncorti.ktfmt.gradle")
  • Applying plugins to all subprojects .