mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-12 14:10:20 +02:00
27 lines
718 B
Groovy
27 lines
718 B
Groovy
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
|
|
}
|