diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2020-06-16 17:48:08 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-07-01 20:05:53 +0000 |
commit | 46d5b7c51b9c41d35d90416281144385555b9059 (patch) | |
tree | 988b0e3777d1522135559d0a2f9dd1c23c629e0a /sonar-application/build.gradle | |
parent | dece0f39a97d4bb6896b488b28f70a11d43de61c (diff) | |
download | sonarqube-46d5b7c51b9c41d35d90416281144385555b9059.tar.gz sonarqube-46d5b7c51b9c41d35d90416281144385555b9059.zip |
SONAR-13475 List GitHub repositories
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r-- | sonar-application/build.gradle | 1 |
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") |