diff options
Diffstat (limited to 'sonar-sarif/build.gradle')
-rw-r--r-- | sonar-sarif/build.gradle | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sonar-sarif/build.gradle b/sonar-sarif/build.gradle new file mode 100644 index 00000000000..befefe045c3 --- /dev/null +++ b/sonar-sarif/build.gradle @@ -0,0 +1,21 @@ +plugins { + id "org.jsonschema2pojo" version "1.2.1" +} + +dependencies { + api 'com.fasterxml.jackson.core:jackson-databind' + api 'com.google.code.findbugs:jsr305' +} + +jsonSchema2Pojo { + source = files("${sourceSets.main.output.resourcesDir}/sarif") + generateBuilders = true + inclusionLevel = "NON_DEFAULT" + initializeCollections = false + targetPackage = 'org.sonar.sarif.pojo' + includeJsr305Annotations = true +} + +license { + excludes(["org/sonar/sarif/pojo/**/*"]) +}
\ No newline at end of file |