您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Scanner Engine"
  4. }
  5. }
  6. // Excluding scanner files in order to benefit of incremental build support
  7. sourceSets.test.resources {
  8. exclude '**/.sonar/**'
  9. }
  10. configurations {
  11. testCompile.extendsFrom(compileOnly)
  12. }
  13. dependencies {
  14. // please keep the list ordered
  15. compile 'ch.qos.logback:logback-classic'
  16. compile 'ch.qos.logback:logback-core'
  17. compile 'commons-codec:commons-codec'
  18. compile 'commons-io:commons-io'
  19. compile 'commons-lang:commons-lang'
  20. compile 'com.google.code.gson:gson'
  21. compile 'org.apache.commons:commons-csv'
  22. compile 'com.google.protobuf:protobuf-java'
  23. compile 'com.squareup.okhttp3:okhttp'
  24. compile 'org.codehaus.staxmate:staxmate'
  25. compile 'org.codehaus.woodstox:stax2-api'
  26. compile 'org.codehaus.woodstox:woodstox-core-lgpl'
  27. compile 'org.eclipse.jgit:org.eclipse.jgit'
  28. compile 'org.tmatesoft.svnkit:svnkit'
  29. compile 'org.picocontainer:picocontainer'
  30. compile 'org.slf4j:jcl-over-slf4j'
  31. compile 'org.slf4j:jul-to-slf4j'
  32. compile 'org.slf4j:log4j-over-slf4j'
  33. compile 'org.slf4j:slf4j-api'
  34. compile 'org.sonarsource.update-center:sonar-update-center-common'
  35. compile project(':sonar-core')
  36. compile project(':sonar-scanner-protocol')
  37. compile project(':sonar-ws')
  38. compile project(':sonar-duplications')
  39. compile project(':sonar-plugin-api-impl')
  40. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  41. compileOnly 'com.google.code.findbugs:jsr305'
  42. testCompile 'com.squareup.okhttp3:mockwebserver'
  43. testCompile 'com.squareup.okhttp3:okhttp'
  44. testCompile 'com.squareup.okio:okio'
  45. testCompile 'com.tngtech.java:junit-dataprovider'
  46. testCompile 'commons-io:commons-io'
  47. testCompile 'junit:junit'
  48. testCompile 'org.assertj:assertj-core'
  49. testCompile 'org.codehaus.staxmate:staxmate'
  50. testCompile 'org.hamcrest:hamcrest-core'
  51. testCompile 'org.mockito:mockito-core'
  52. testCompile 'stax:stax-api'
  53. testCompile project(':plugins:sonar-xoo-plugin')
  54. testCompile project(':sonar-plugin-api').sourceSets.test.output
  55. }
  56. license {
  57. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
  58. }
  59. artifactoryPublish.skip = false
  60. // Used by core plugins
  61. publishing {
  62. publications {
  63. mavenJava(MavenPublication) {
  64. from components.java
  65. if (release) {
  66. artifact sourcesJar
  67. artifact javadocJar
  68. }
  69. }
  70. }
  71. }