mirror of
https://github.com/runelite/plugin-hub.git
synced 2026-02-25 11:27:02 -05:00
verification-template: enforce indentation
This commit is contained in:
@@ -107,5 +107,9 @@ task verifyAll {
|
||||
doLast {
|
||||
// This causes resolution (and therefore verification) of the configuration
|
||||
configurations.thirdParty.asPath
|
||||
|
||||
if (file("build.gradle").text =~ /(?m)^ /) {
|
||||
throw new RuntimeException("gradle files should be indented with tabs")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user