MVN

com.facebook : ktfmt

Maven & Gradle

Apr 28, 2023
689 stars

Ktfmt · A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.

<dependency>
    <groupId>com.facebook</groupId>
    <artifactId>ktfmt</artifactId>
    <version>0.44</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.facebook : ktfmt to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.44

All Versions

Choose a version of com.facebook : ktfmt to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.44
ktfmt-0.44
0.43
ktfmt-0.43
0.42
ktfmt-0.42
0.41
ktfmt-0.41
0.40
ktfmt-0.40
0.39
ktfmt-0.39
0.38
ktfmt-0.38
0.37
ktfmt-0.37
0.36
ktfmt-0.36
0.35
ktfmt-0.35
0.34
ktfmt-0.34
0.33
ktfmt-0.33
0.32
ktfmt-0.32
0.31
ktfmt-0.31
0.30
ktfmt-0.30
0.29
ktfmt-0.29
0.28
ktfmt-0.28
0.27
ktfmt-0.27
0.26
ktfmt-0.26
0.25
ktfmt-0.25
0.24
ktfmt-0.24
0.23
ktfmt-0.23
0.22
ktfmt-0.22
0.21
ktfmt-0.21
0.20
ktfmt-0.20
0.19
ktfmt-0.19
0.18
ktfmt-0.18
0.17
ktfmt-0.17
0.16
ktfmt-0.16
0.15
ktfmt-0.15
0.13
ktfmt-0.13
0.12
ktfmt-0.12
0.11
ktfmt-0.11
0.1
ktfmt-0.1

How to add a dependency to Maven

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

<dependency>
    <groupId>com.facebook</groupId>
    <artifactId>ktfmt</artifactId>
    <version>0.44</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.facebook : ktfmt gradle dependency to your build.gradle file:

implementation 'com.facebook:ktfmt:0.44'

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

implementation("com.facebook:ktfmt:0.44")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.facebook : ktfmt sbt scala dependency to your build.sbt file:

libraryDependencies += "com.facebook" % "ktfmt" % "0.44"

Advertisement