sonar { properties { property 'sonar.projectName', "${projectTitle} :: Web Service" property 'sonar.exclusions', 'src/main/java/org/sonarqube/ws/client/*/*.java' } } configurations { testImplementation.extendsFrom(compileOnlyApi) } dependencies { // please keep list ordered api 'com.google.protobuf:protobuf-java' api 'com.squareup.okhttp3:okhttp' api 'com.squareup.okhttp3:logging-interceptor' api 'com.google.code.gson:gson' api 'org.sonarsource.api.plugin:sonar-plugin-api' compileOnlyApi 'com.google.code.findbugs:jsr305' compileOnlyApi 'javax.annotation:javax.annotation-api' testImplementation 'com.squareup.okhttp3:mockwebserver' testImplementation 'com.squareup.okio:okio' testImplementation 'commons-io:commons-io' testImplementation 'org.apache.commons:commons-lang3' testImplementation 'junit:junit' testImplementation 'org.assertj:assertj-core' testImplementation 'org.hamcrest:hamcrest-core' testImplementation 'org.mockito:mockito-core' testImplementation project(':sonar-testing-harness') testFixturesApi 'junit:junit' testFixturesApi 'com.google.guava:guava' testFixturesApi 'org.assertj:assertj-core' testFixturesApi 'org.junit.jupiter:junit-jupiter-api' testFixturesApi 'org.sonarsource.orchestrator:sonar-orchestrator-junit4' testFixturesApi 'commons-io:commons-io' } artifactoryPublish.skip = false publishing { publications { mavenJava(MavenPublication) { from components.java if (release) { artifact sourcesJar artifact javadocJar } } } }