Search Gradle plugins

Version 0.18.0

0.18.0

Created 13 April 2024.

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.18.0"
}

See also:

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