MVN

com.diffplug.gradle.spotless : spotless

Maven & Gradle

Dec 17, 2021
4.5k stars

spotless · Spotless - keep your code spotless with Gradle

<dependency>
    <groupId>com.diffplug.gradle.spotless</groupId>
    <artifactId>spotless</artifactId>
    <version>2.4.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.diffplug.gradle.spotless : spotless to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.4.1

All Versions

Choose a version of com.diffplug.gradle.spotless : spotless to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.4.x
spotless-2.4.1
spotless-2.4.0
2.3.x
spotless-2.3.0
2.2.x
spotless-2.2.0
2.1.x
spotless-2.1.0
2.0.x
spotless-2.0.0
1.3.x
spotless-1.3.3
spotless-1.3.2
spotless-1.3.1
spotless-1.3.0
1.2.x
spotless-1.2.0

How to add a dependency to Maven

Add the following com.diffplug.gradle.spotless : spotless maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.diffplug.gradle.spotless</groupId>
    <artifactId>spotless</artifactId>
    <version>2.4.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.diffplug.gradle.spotless : spotless gradle dependency to your build.gradle file:

implementation 'com.diffplug.gradle.spotless:spotless:2.4.1'

Gradle Kotlin DSL: Add the following com.diffplug.gradle.spotless : spotless gradle kotlin dependency to your build.gradle.kts file:

implementation("com.diffplug.gradle.spotless:spotless:2.4.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.diffplug.gradle.spotless : spotless sbt scala dependency to your build.sbt file:

libraryDependencies += "com.diffplug.gradle.spotless" % "spotless" % "2.4.1"

Advertisement