diff options
author | Steve Marion <steve.marion@sonarsource.com> | 2024-08-21 15:37:48 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-27 20:02:40 +0000 |
commit | d4fd4fcbbc8d658e9863483a00fa91ffa34bc078 (patch) | |
tree | e9e54d46d3b6bccc419c26faf921c7232a57ebac /sonar-sarif | |
parent | 90793a92b3f35c97db4a563e965e7225b163c327 (diff) | |
download | sonarqube-d4fd4fcbbc8d658e9863483a00fa91ffa34bc078.tar.gz sonarqube-d4fd4fcbbc8d658e9863483a00fa91ffa34bc078.zip |
SONAR-19710 fix implicit task dependencies. skip java plugin tasks for frontend builds
Diffstat (limited to 'sonar-sarif')
-rw-r--r-- | sonar-sarif/build.gradle | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sonar-sarif/build.gradle b/sonar-sarif/build.gradle index 23466430d27..78bf955e6aa 100644 --- a/sonar-sarif/build.gradle +++ b/sonar-sarif/build.gradle @@ -1,3 +1,5 @@ +import nl.javadude.gradle.plugins.license.License + plugins { id "org.jsonschema2pojo" version "1.2.1" } @@ -17,5 +19,9 @@ jsonSchema2Pojo { } license { - excludes(["org/sonar/sarif/pojo/**/*"]) -}
\ No newline at end of file + exclude("org/sonar/sarif/pojo/**/*") +} + +tasks.withType(License).configureEach { licenseTask -> + licenseTask.mustRunAfter(tasks.named("generateJsonSchema2Pojo")) +} |