12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- description = 'Code shared between the Web Server and the Compute Engine'
-
- sonarqube {
- properties {
- property 'sonar.projectName', "${projectTitle} :: Server :: Common"
- }
- }
-
- configurations {
- tests
-
- testCompile.extendsFrom tests
- }
-
- dependencies {
- // please keep the list grouped by configuration and ordered by name
-
- compile 'org.apache.commons:commons-email'
- compile 'commons-io:commons-io'
- compile 'commons-lang:commons-lang'
- compile 'com.google.guava:guava'
- compile 'org.slf4j:slf4j-api'
- compile 'com.squareup.okhttp3:okhttp'
- compile 'org.elasticsearch.client:transport'
- compile project(':server:sonar-db-dao')
- compile project(':server:sonar-db-migration')
- compile project(':server:sonar-process')
- compile project(':sonar-core')
- compile project(':sonar-markdown')
- compile project(path: ':sonar-plugin-api', configuration: 'shadow')
- compile project(':sonar-ws')
-
- compileOnly 'com.google.code.findbugs:jsr305'
-
- // "tests" dependencies are pulled by other modules which depends on "tests" configuration, "testCompile" are not pulled
- tests 'org.codelibs.elasticsearch.module:analysis-common'
- tests 'org.elasticsearch:mocksocket'
-
- testCompile 'ch.qos.logback:logback-core'
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.h2database:h2'
- testCompile 'com.squareup.okhttp3:mockwebserver'
- testCompile 'com.squareup.okio:okio'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'junit:junit'
- testCompile 'org.apache.logging.log4j:log4j-api'
- testCompile 'org.apache.logging.log4j:log4j-core'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.hamcrest:hamcrest-core'
- testCompile 'org.mockito:mockito-core'
- testCompile project(':server:sonar-db-testing')
- testCompile project(path: ':sonar-plugin-api', configuration: 'shadow')
- testCompile project(':sonar-plugin-api-impl')
- testCompile project(':sonar-testing-harness')
- }
-
- task testJar(type: Jar) {
- classifier = 'tests'
- from sourceSets.test.output
- }
-
- artifacts {
- tests testJar
- }
|