Skip to content

Commit

Permalink
Update IntelliJ excluded directories (#3783)
Browse files Browse the repository at this point in the history
Mark directories as excluded so that they don't appear in IntelliJ's global search. This is particularly annoying for the KotlinDslAccessorsTest files.
  • Loading branch information
adam-enko authored Sep 9, 2024
1 parent 58d1b4c commit 3bc5ae3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

plugins {
id("dokkabuild.base")
idea
}

val publishedIncludedBuilds = listOf("runner-cli", "dokka-gradle-plugin", "runner-maven-plugin")
Expand Down Expand Up @@ -105,3 +106,20 @@ tasks.wrapper {
)
}
}

idea {
module {
// Mark directories as excluded so that they don't appear in IntelliJ's global search.
excludeDirs.addAll(
files(
".idea",
".husky",
".kotlin",
"dokka-runners/dokka-gradle-plugin/.kotlin",
"dokka-runners/runner-cli/.kotlin",
"dokka-runners/runner-maven-plugin/.kotlin",
"dokka-runners/dokka-gradle-plugin/src/testFunctional/resources/KotlinDslAccessorsTest/",
)
)
}
}

0 comments on commit 3bc5ae3

Please sign in to comment.