Skip to content

Commit

Permalink
add ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonButov committed Nov 16, 2024
1 parent 3064eea commit 520e937
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
15 changes: 15 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plugins {
id("org.jlleitschuh.gradle.ktlint") version "11.5.1"
}

repositories {
mavenCentral()
google()
}

ktlint {
version.set("0.50.0") // Последняя версия Ktlint
android.set(false) // Если проект не для Android
outputToConsole.set(true)
coloredOutput.set(true)
}
5 changes: 1 addition & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
rootProject.name = "code-factory"

include("bridge")
include("gradle-plugin")
include("gradle-plugin")

0 comments on commit 520e937

Please sign in to comment.