You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. description = 'SonarQube :: Authentication :: GitHub'
  2. configurations {
  3. testImplementation.extendsFrom compileOnlyApi
  4. }
  5. dependencies {
  6. // please keep the list ordered
  7. api 'com.github.scribejava:scribejava-apis'
  8. api 'com.github.scribejava:scribejava-core'
  9. api 'com.google.code.gson:gson'
  10. api project(':server:sonar-auth-common')
  11. api project(':server:sonar-server-common')
  12. compileOnlyApi 'com.google.code.findbugs:jsr305'
  13. compileOnlyApi 'com.squareup.okhttp3:okhttp'
  14. compileOnlyApi 'javax.servlet:javax.servlet-api'
  15. compileOnlyApi project(':sonar-core')
  16. testImplementation 'com.squareup.okhttp3:mockwebserver'
  17. testImplementation 'com.squareup.okhttp3:okhttp'
  18. testImplementation 'com.tngtech.java:junit-dataprovider'
  19. testImplementation 'junit:junit'
  20. testImplementation 'org.assertj:assertj-core'
  21. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  22. testImplementation 'org.mockito:mockito-core'
  23. testImplementation testFixtures(project(':server:sonar-db-dao'))
  24. testImplementation project(path: ':server:sonar-webserver-api')
  25. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  26. testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
  27. }
  28. test {
  29. // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  30. useJUnitPlatform()
  31. }