aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github/build.gradle
blob: 363886bb33262793d30accd1a3f80aea196c06da (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
35
36
37
38
39
40
description = 'SonarQube :: Authentication :: GitHub'

configurations {
    testImplementation.extendsFrom compileOnlyApi
}

dependencies {
    // please keep the list ordered

    api 'com.github.scribejava:scribejava-apis'
    api 'com.github.scribejava:scribejava-core'
    api 'com.google.code.gson:gson'
    api project(':server:sonar-auth-common')
    api project(':server:sonar-server-common')

    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
    compileOnlyApi 'com.squareup.okhttp3:okhttp'
    compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
    compileOnlyApi project(':sonar-core')

    testImplementation 'com.squareup.okhttp3:mockwebserver'
    testImplementation 'com.squareup.okhttp3:okhttp'
    testImplementation 'com.tngtech.java:junit-dataprovider'
    testImplementation 'junit:junit'
    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.mockito:mockito-junit-jupiter'
    testImplementation testFixtures(project(':server:sonar-db-dao'))
    testImplementation project(path: ':server:sonar-webserver-api')

    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()
}