Skip to content

Commit

Permalink
Update deprecated source detekt (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascayuelas authored Nov 9, 2023
1 parent 978aaa4 commit 89547c0
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion filesystem/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies { detektPlugins(project(":detekt-rules")) }

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion gpt4all-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/gcp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies { detektPlugins(project(":detekt-rules")) }

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/lucene/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/main/kotlin")
source.setFrom(files("src/main/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/mlflow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies { detektPlugins(project(":detekt-rules")) }

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/opentelemetry/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/main/kotlin")
source.setFrom(files("src/main/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/pdf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/main/kotlin")
source.setFrom(files("src/main/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/postgresql/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/main/kotlin")
source.setFrom(files("src/main/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/sql/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/main/kotlin")
source.setFrom(files("src/main/kotlin"))
config.setFrom("../../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies { detektPlugins(project(":detekt-rules")) }

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion openai/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion reasoning/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies { detektPlugins(project(":detekt-rules")) }

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down
2 changes: 1 addition & 1 deletion tokenizer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ java {

detekt {
toolVersion = "1.23.1"
source = files("src/commonMain/kotlin", "src/jvmMain/kotlin")
source.setFrom(files("src/commonMain/kotlin", "src/jvmMain/kotlin"))
config.setFrom("../config/detekt/detekt.yml")
autoCorrect = true
}
Expand Down

0 comments on commit 89547c0

Please sign in to comment.