From b00c3ec2dc56f1517e205128ff219608ae5804ea Mon Sep 17 00:00:00 2001 From: Max Weber Date: Wed, 15 Jun 2022 18:02:11 -0600 Subject: [PATCH] verification-template: enforce indentation --- package/verification-template/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/verification-template/build.gradle b/package/verification-template/build.gradle index 48fb73fb3..0957dd5e4 100644 --- a/package/verification-template/build.gradle +++ b/package/verification-template/build.gradle @@ -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") + } } }