Don't index local deployment run state in IntelliJ.

This commit is contained in:
Viktor Lofgren 2023-03-20 17:11:22 +01:00
parent a74f899d28
commit b7190ebc69

View File

@ -1,5 +1,6 @@
plugins {
id 'java'
id("org.jetbrains.gradle.plugin.idea-ext") version "1.0"
}
group 'marginalia'
@ -13,6 +14,20 @@ task dist(type: Copy) {
into "$buildDir/dist"
}
idea {
module {
excludeDirs.add(file("$projectDir/run/model"))
excludeDirs.add(file("$projectDir/run/samples"))
excludeDirs.add(file("$projectDir/run/db"))
excludeDirs.add(file("$projectDir/run/logs"))
excludeDirs.add(file("$projectDir/run/install"))
excludeDirs.add(file("$projectDir/run/data"))
excludeDirs.add(file("$projectDir/run/conf"))
excludeDirs.add(file("$projectDir/run/vol"))
excludeDirs.add(file("$projectDir/run/test-data"))
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))