aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-sarif/build.gradle
blob: befefe045c35ed42721b63b0f2bd9a56a48ff4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/**/*"])
}