sonarqube/sonar-scanner-engine/build.gradle

80 lignes
2.2 KiB
Groovy
Brut Vue normale Historique

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 {
testImplementation.extendsFrom(compileOnly)
2018-02-08 15:01:19 +01:00
}
dependencies {
// 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'
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'
compile 'com.fasterxml.staxmate:staxmate'
compile 'javax.annotation:javax.annotation-api'
compile 'org.eclipse.jgit:org.eclipse.jgit'
2020-08-25 21:25:04 +02:00
compile 'org.tmatesoft.svnkit:svnkit'
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'
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'
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')
compile project(':sonar-duplications')
compile project(':sonar-plugin-api-impl')
2018-02-08 15:01:19 +01:00
compileOnly 'com.google.code.findbugs:jsr305'
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'
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')
}
license {
2018-06-27 23:57:43 +02:00
excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
}
2018-02-08 15:01:19 +01:00
artifactoryPublish.skip = false
// Used by core plugins
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
if (release) {
artifact sourcesJar
artifact javadocJar
}
2018-02-08 15:01:19 +01:00
}
}
}