Skip to content
Snippets Groups Projects
Commit b95fe4bd authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add libs directory

parent e12b8250
No related branches found
No related tags found
1 merge request!95Add lib directory
...@@ -6,7 +6,11 @@ apply plugin: "com.github.spotbugs" ...@@ -6,7 +6,11 @@ apply plugin: "com.github.spotbugs"
* See https://spotbugs.readthedocs.io * See https://spotbugs.readthedocs.io
*/ */
spotbugs { spotbugs {
excludeFilter = file("../nshmp-lib/gradle/spotbugs-exclude-filter.xml") if (name == 'nshmp-lib') {
excludeFilter = file("./gradle/spotbugs-exclude-filter.xml")
} else {
excludeFilter = file("libs/nshmp-lib/gradle/spotbugs-exclude-filter.xml")
}
effort = "max" effort = "max"
ignoreFailures = true // TODO remove once code is up to date ignoreFailures = true // TODO remove once code is up to date
} }
...@@ -14,7 +14,7 @@ apply plugin: "com.diffplug.gradle.spotless" ...@@ -14,7 +14,7 @@ apply plugin: "com.diffplug.gradle.spotless"
spotless { spotless {
/* Java formatting */ /* Java formatting */
java { java {
targetExclude "**/build", "bin", "**/Scratch*.java", "tmp" targetExclude "**/build", "bin", "**/Scratch*.java", "tmp", "libs"
removeUnusedImports() removeUnusedImports()
...@@ -43,7 +43,7 @@ spotless { ...@@ -43,7 +43,7 @@ spotless {
/* Markdown, YAML, .gitignore, Bash, and Dockerfile formatting */ /* Markdown, YAML, .gitignore, Bash, and Dockerfile formatting */
format "misc", { format "misc", {
target "**/*.md", "**/*.yml", "**/.gitgnore", "**/*.sh", "**/*Dockerfile" target "**/*.md", "**/*.yml", "**/.gitgnore", "**/*.sh", "**/*Dockerfile"
targetExclude "**/build", ".gradle", ".settings", "tmp" targetExclude "**/build", ".gradle", ".settings", "tmp", "libs"
trimTrailingWhitespace() trimTrailingWhitespace()
indentWithSpaces(2) indentWithSpaces(2)
endWithNewline() endWithNewline()
...@@ -54,7 +54,7 @@ spotless { ...@@ -54,7 +54,7 @@ spotless {
format "xml", { format "xml", {
target fileTree(".") { target fileTree(".") {
include "**/*.xml" include "**/*.xml"
exclude "**/build", ".settings", ".classpath", ".project", "tmp", ".gradle" exclude "**/build", ".settings", ".classpath", ".project", "tmp", ".gradle", "libs"
} }
eclipseWtp("xml") eclipseWtp("xml")
indentWithSpaces(2) indentWithSpaces(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment