Search Gradle plugins

Version 1.2.0 (latest)

Created 31 December 2019.

Preconfigured spotless configuration and gradle tasks for use in other projects

Using the plugins DSL:

plugins {
  id "com.jonathanrobertson.spotless" version "1.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.jonathanrobertson.spotless:auto-spotless-plugin:1.2.0"
  }
}

apply plugin: "com.jonathanrobertson.spotless"

Using the plugins DSL:

plugins {
  id("com.jonathanrobertson.spotless") version "1.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.jonathanrobertson.spotless:auto-spotless-plugin:1.2.0")
  }
}

apply(plugin = "com.jonathanrobertson.spotless")

Learn how to apply plugins to subprojects