Skip to content

Commit

Permalink
Migrate from deprecated APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed May 27, 2023
1 parent 899db60 commit 388ee5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ tasks.withType<JavaCompile>().configureEach {
}

detekt {
source = files("src/")
config = files("../detekt.yml")
source.from(files("src/"))
config.from(files("../detekt.yml"))
buildUponDefaultConfig = true
allRules = true
parallel = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ private fun Project.configureSubproject() {
dependencies.add("detektPlugins", the<LibrariesForLibs>().plugin.detektFormatting)
plugins.withType<DetektPlugin> {
extensions.configure<DetektExtension> {
source = files("src/")
config = files("${project.rootDir}/detekt.yml")
source.from(files("src/"))
config.from(files("${project.rootDir}/detekt.yml"))
buildUponDefaultConfig = true
allRules = true
parallel = true
Expand Down

0 comments on commit 388ee5f

Please sign in to comment.