mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-21 12:42:37 +00:00
Respect disableSpotless property (#215)
* Respect disableSpotless property Building should not depend on `spotlessCheck` if spotless is disabled, as the task is not present. * Address review
This commit is contained in:
1 parent
5edf329558
commit
6b48a766fb
1 file changed
+4
-1
+4
-1
@@ -1152,7 +1152,10 @@ tasks.named("processIdeaSettings").configure {
|
||||
|
||||
tasks.named("ideVirtualMainClasses").configure {
|
||||
// Make IntelliJ "Build project" build the mod jars
|
||||
dependsOn("jar", "reobfJar", "spotlessCheck")
|
||||
dependsOn("jar", "reobfJar")
|
||||
if (!disableSpotless) {
|
||||
dependsOn("spotlessCheck")
|
||||
}
|
||||
}
|
||||
|
||||
// workaround variable hiding in pom processing
|
||||
|
||||
Reference in new issue
Block a user