Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Exclude build/bin sources from Spotless #586

Merged
merged 1 commit into from
Apr 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ subprojects {
apply plugin: 'com.diffplug.gradle.spotless'
spotless {
kotlin {
target "**/*.kt"
target '**/*.kt'
targetExclude("$buildDir/**/*.kt")
targetExclude('bin/**/*.kt')

ktlint(Versions.ktlint)
licenseHeaderFile project.rootProject.file('spotless/copyright.kt')
licenseHeaderFile rootProject.file('spotless/copyright.kt')
}
}

Expand Down