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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. sonar {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Plugin API Implementation"
  4. }
  5. }
  6. dependencies {
  7. // please keep the list grouped by configuration and ordered by name
  8. api 'commons-codec:commons-codec'
  9. api 'commons-io:commons-io'
  10. api 'commons-lang:commons-lang'
  11. api 'org.apache.commons:commons-csv'
  12. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  13. compileOnlyApi 'com.google.code.findbugs:jsr305'
  14. compileOnlyApi 'junit:junit'
  15. testCompileOnly 'com.google.code.findbugs:jsr305'
  16. testImplementation 'com.google.guava:guava'
  17. testImplementation 'com.tngtech.java:junit-dataprovider'
  18. testImplementation 'junit:junit'
  19. testImplementation 'org.assertj:assertj-core'
  20. testImplementation 'org.mockito:mockito-core'
  21. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  22. }
  23. import org.apache.tools.ant.filters.ReplaceTokens
  24. processResources {
  25. filter ReplaceTokens, tokens: [
  26. 'project.version': project.version
  27. ]
  28. }
  29. artifactoryPublish.skip = false
  30. publishing {
  31. publications {
  32. mavenJava(MavenPublication) {
  33. from components.java
  34. if (release) {
  35. artifact sourcesJar
  36. artifact javadocJar
  37. }
  38. }
  39. }
  40. }