aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 572cd7fff79..cc4cb315611 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -179,6 +179,7 @@ zip.doFirst {
zip.doLast {
def minLength = 220000000
def maxLength = 235000000
+
def length = archiveFile.get().asFile.length()
if (length < minLength)
throw new GradleException("$archiveName size ($length) too small. Min is $minLength")