aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-telemetry/build.gradle
blob: 63ebe5fe95708257be5abb024e9a999287fae9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
description = 'Module providing a platform for telemetry in SonarQube. Contains both old and new versions of telemetry.'

sonar {
    properties {
        property 'sonar.projectName', "${projectTitle} :: Server :: Telemetry"
    }
}

dependencies {
    api project(':server:sonar-telemetry-core')

    implementation project(':server:sonar-process')
    implementation project(':server:sonar-server-common')
    implementation project(':server:sonar-webserver-core')
    implementation project(':server:sonar-webserver-webapi')
    implementation project(':sonar-core')

    testImplementation(platform("org.junit:junit-bom"))
    testImplementation 'com.squareup.okhttp3:mockwebserver'
    testImplementation 'com.tngtech.java:junit-dataprovider'
    testImplementation 'org.assertj:assertj-core'
    testImplementation 'org.junit.jupiter:junit-jupiter-api'
    testImplementation 'org.junit.jupiter:junit-jupiter-params'
    testImplementation 'org.mockito:mockito-core'
    testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
    testImplementation project(':sonar-testing-harness')
    testImplementation testFixtures(project(':server:sonar-server-common'))

    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}

tasks.test {
    useJUnitPlatform()
}