123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- sonar {
- properties {
- property 'sonar.projectName', "${projectTitle} :: Plugin API Implementation"
- }
- }
-
- dependencies {
- // please keep the list grouped by configuration and ordered by name
-
- api 'commons-codec:commons-codec'
- api 'commons-io:commons-io'
- api 'commons-lang:commons-lang'
- api 'org.apache.commons:commons-csv'
- api 'org.sonarsource.api.plugin:sonar-plugin-api'
-
- compileOnlyApi 'com.google.code.findbugs:jsr305'
- compileOnlyApi 'junit:junit'
-
- testCompileOnly 'com.google.code.findbugs:jsr305'
-
- testImplementation 'com.google.guava:guava'
- testImplementation 'com.tngtech.java:junit-dataprovider'
- testImplementation 'junit:junit'
- testImplementation 'org.assertj:assertj-core'
- testImplementation 'org.mockito:mockito-core'
- testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
- }
-
- import org.apache.tools.ant.filters.ReplaceTokens
- processResources {
- filter ReplaceTokens, tokens: [
- 'project.version': project.version
- ]
- }
-
- artifactoryPublish.skip = false
-
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
- }
|