diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2023-08-25 11:46:07 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-08-25 20:02:41 +0000 |
commit | 9443476f8cdf4145e766e6c8928ab6ab46639857 (patch) | |
tree | a50a20e4e4095d007da78a0cea6d3ca260176b55 /build.gradle | |
parent | e95907edae36260a2116187ab5cf925b76c7dd34 (diff) | |
download | sonarqube-9443476f8cdf4145e766e6c8928ab6ab46639857.tar.gz sonarqube-9443476f8cdf4145e766e6c8928ab6ab46639857.zip |
SONAR-20258 invoke licenseFormat and generatePackageInfo when calling build
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 9d9f525b57e..79455b8498a 100644 --- a/build.gradle +++ b/build.gradle @@ -480,6 +480,7 @@ subprojects { } } } + build.dependsOn(generatePackageInfo) generatePackageInfo.finalizedBy(licenseFormat) jacocoTestReport { @@ -583,6 +584,7 @@ subprojects { license { header = rootProject.file('HEADER') + ignoreFailures = project.hasProperty('ignoreLicenseFailures') ? project.getProperty('ignoreLicenseFailures').toBoolean() : true strictCheck true encoding = 'UTF-8' mapping { |