2018-02-08 15:01:19 +01:00
|
|
|
sonarqube {
|
|
|
|
properties {
|
|
|
|
property 'sonar.projectName', "${projectTitle} :: Scanner Engine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Excluding scanner files in order to benefit of incremental build support
|
|
|
|
sourceSets.test.resources {
|
|
|
|
exclude '**/.sonar/**'
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
2021-09-30 13:07:41 +02:00
|
|
|
testImplementation.extendsFrom(compileOnly)
|
2018-02-08 15:01:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-03-09 16:15:11 +01:00
|
|
|
// please keep the list ordered
|
|
|
|
|
2019-07-15 22:59:23 +02:00
|
|
|
compile 'ch.qos.logback:logback-classic'
|
|
|
|
compile 'ch.qos.logback:logback-core'
|
2018-02-08 15:01:19 +01:00
|
|
|
compile 'commons-codec:commons-codec'
|
2019-07-15 22:59:23 +02:00
|
|
|
compile 'commons-io:commons-io'
|
2018-02-08 15:01:19 +01:00
|
|
|
compile 'commons-lang:commons-lang'
|
|
|
|
compile 'com.google.code.gson:gson'
|
2018-03-09 16:15:11 +01:00
|
|
|
compile 'org.apache.commons:commons-csv'
|
2019-07-15 22:59:23 +02:00
|
|
|
compile 'com.google.protobuf:protobuf-java'
|
|
|
|
compile 'com.squareup.okhttp3:okhttp'
|
2021-05-27 15:10:28 +02:00
|
|
|
compile 'com.fasterxml.staxmate:staxmate'
|
2022-01-05 23:17:09 +01:00
|
|
|
compile 'javax.annotation:javax.annotation-api'
|
2020-03-03 23:54:40 +01:00
|
|
|
compile 'org.eclipse.jgit:org.eclipse.jgit'
|
2020-08-25 21:25:04 +02:00
|
|
|
compile 'org.tmatesoft.svnkit:svnkit'
|
2018-03-09 16:15:11 +01:00
|
|
|
compile 'org.slf4j:jcl-over-slf4j'
|
2018-02-08 15:01:19 +01:00
|
|
|
compile 'org.slf4j:jul-to-slf4j'
|
|
|
|
compile 'org.slf4j:log4j-over-slf4j'
|
|
|
|
compile 'org.slf4j:slf4j-api'
|
2022-04-08 20:11:59 +02:00
|
|
|
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
|
2019-07-15 22:59:23 +02:00
|
|
|
compile 'org.sonarsource.update-center:sonar-update-center-common'
|
2022-01-05 23:17:09 +01:00
|
|
|
compile 'org.springframework:spring-context'
|
|
|
|
|
2019-07-15 22:59:23 +02:00
|
|
|
|
2018-02-08 15:01:19 +01:00
|
|
|
compile project(':sonar-core')
|
|
|
|
compile project(':sonar-scanner-protocol')
|
|
|
|
compile project(':sonar-ws')
|
2018-07-05 11:51:17 +02:00
|
|
|
compile project(':sonar-duplications')
|
2019-06-19 20:56:51 +02:00
|
|
|
compile project(':sonar-plugin-api-impl')
|
2018-02-08 15:01:19 +01:00
|
|
|
|
|
|
|
compileOnly 'com.google.code.findbugs:jsr305'
|
|
|
|
|
2018-05-10 21:47:15 +02:00
|
|
|
testCompile 'com.squareup.okhttp3:mockwebserver'
|
2019-07-15 22:59:23 +02:00
|
|
|
testCompile 'com.squareup.okhttp3:okhttp'
|
|
|
|
testCompile 'com.squareup.okio:okio'
|
2018-02-08 15:01:19 +01:00
|
|
|
testCompile 'com.tngtech.java:junit-dataprovider'
|
2019-07-15 22:59:23 +02:00
|
|
|
testCompile 'commons-io:commons-io'
|
2018-02-08 15:01:19 +01:00
|
|
|
testCompile 'junit:junit'
|
|
|
|
testCompile 'org.assertj:assertj-core'
|
2021-05-27 15:10:28 +02:00
|
|
|
testCompile 'com.fasterxml.staxmate:staxmate'
|
2019-07-15 22:59:23 +02:00
|
|
|
testCompile 'org.hamcrest:hamcrest-core'
|
2018-02-08 15:01:19 +01:00
|
|
|
testCompile 'org.mockito:mockito-core'
|
|
|
|
testCompile project(':plugins:sonar-xoo-plugin')
|
|
|
|
}
|
|
|
|
|
2018-03-21 17:33:08 +01:00
|
|
|
license {
|
2018-06-27 23:57:43 +02:00
|
|
|
excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
|
2018-03-21 17:33:08 +01:00
|
|
|
}
|
|
|
|
|
2018-02-08 15:01:19 +01:00
|
|
|
artifactoryPublish.skip = false
|
|
|
|
|
|
|
|
// Used by core plugins
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
from components.java
|
2018-03-28 12:37:09 +02:00
|
|
|
if (release) {
|
|
|
|
artifact sourcesJar
|
|
|
|
artifact javadocJar
|
|
|
|
}
|
2018-02-08 15:01:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|