MVN

com.pinterest.ktlint : ktlint-core

Maven & Gradle

May 12, 2023
41 usages
6.2k stars

ktlint-core · An anti-bikeshedding Kotlin linter with built-in formatter.

<dependency>
    <groupId>com.pinterest.ktlint</groupId>
    <artifactId>ktlint-core</artifactId>
    <version>0.49.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.pinterest.ktlint : ktlint-core to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.49.1
  • Latest Alpha: 0.38.0-alpha01

All Versions

Choose a version of com.pinterest.ktlint : ktlint-core to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.49.x
ktlint-core-0.49.1
ktlint-core-0.49.0
0.48.x
ktlint-core-0.48.2
ktlint-core-0.48.1
ktlint-core-0.48.0
0.47.x
ktlint-core-0.47.1
ktlint-core-0.47.0
0.46.x
ktlint-core-0.46.1
ktlint-core-0.46.0
0.45.x
ktlint-core-0.45.2
ktlint-core-0.45.1
ktlint-core-0.45.0
0.44.x
ktlint-core-0.44.0
0.43.x
ktlint-core-0.43.2
ktlint-core-0.43.1
ktlint-core-0.43.0
0.42.x
ktlint-core-0.42.1
ktlint-core-0.42.0
0.41.x
ktlint-core-0.41.0
0.40.x
ktlint-core-0.40.0
0.39.x
ktlint-core-0.39.0
0.38.x
ktlint-core-0.38.1
ktlint-core-0.38.0
ktlint-core-0.38.0-alpha01
0.37.x
ktlint-core-0.37.2
ktlint-core-0.37.1
ktlint-core-0.37.0
0.36.x
ktlint-core-0.36.0
0.35.x
ktlint-core-0.35.0
0.34.x
ktlint-core-0.34.2
ktlint-core-0.34.1
ktlint-core-0.34.0
0.33.x
ktlint-core-0.33.0
0.32.x
ktlint-core-0.32.0

How to add a dependency to Maven

Add the following com.pinterest.ktlint : ktlint-core maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.pinterest.ktlint</groupId>
    <artifactId>ktlint-core</artifactId>
    <version>0.49.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.pinterest.ktlint : ktlint-core gradle dependency to your build.gradle file:

implementation 'com.pinterest.ktlint:ktlint-core:0.49.1'

Gradle Kotlin DSL: Add the following com.pinterest.ktlint : ktlint-core gradle kotlin dependency to your build.gradle.kts file:

implementation("com.pinterest.ktlint:ktlint-core:0.49.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.pinterest.ktlint : ktlint-core sbt scala dependency to your build.sbt file:

libraryDependencies += "com.pinterest.ktlint" % "ktlint-core" % "0.49.1"