verification-template: enforce indentation

This commit is contained in:
Max Weber committed 2022-06-15 18:02:11 -06:00
1 parent ead86e57f7
commit b00c3ec2dc
1 file changed
+4
@@ -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")
}
}
}