aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications/build.gradle
blob: 351b5c922f764dea903716dd8db78c4198d77be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
sonar {
  properties {
    property 'sonar.projectName', "${projectTitle} :: Duplications"
  }
}

dependencies {
  // please keep list ordered

  api 'org.codehaus.sonar:sonar-channel'
  api 'org.sonarsource.api.plugin:sonar-plugin-api'

  compileOnlyApi 'com.google.code.findbugs:jsr305'

  testImplementation 'ch.qos.logback:logback-classic'
  testImplementation 'commons-io:commons-io'
  testImplementation 'junit:junit'
  testImplementation 'org.assertj:assertj-core'
  testImplementation 'org.hamcrest:hamcrest-core'
  testImplementation 'org.mockito:mockito-core'
}

// Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17
tasks.withType(JavaCompile) {
  options.release = 11
}