aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-pushapi/build.gradle
blob: b21b754052d002c48cb4b28e4a98ec9f61453a30 (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
sonar {
    properties {
        property 'sonar.projectName', "${projectTitle} :: WebServer :: PushAPI"
    }
}
dependencies {

    api 'jakarta.servlet:jakarta.servlet-api'
    api 'org.json:json'

    api project(':server:sonar-webserver-ws')
    api project(':server:sonar-webserver-auth')

    testImplementation 'junit:junit'
    testImplementation 'org.assertj:assertj-core'
    testImplementation 'org.junit.jupiter:junit-jupiter-api'
    testImplementation 'org.mockito:mockito-core'
    testImplementation 'org.awaitility:awaitility'
    testImplementation testFixtures(project(':server:sonar-webserver-ws'))
    testImplementation testFixtures(project(':server:sonar-db-dao'))

    testFixturesApi project(':sonar-testing-harness')
    testFixturesCompileOnly testFixtures(project(':server:sonar-webserver-ws'))

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

test {
    // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
    useJUnitPlatform()
}