verification-template: enforce indentation

This commit is contained in:
Max Weber
2022-06-15 18:02:11 -06:00
parent ead86e57f7
commit b00c3ec2dc

View File

@@ -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")
}
}
}