build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright 2020 the original author or authors.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * https://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. plugins {
  17. id 'org.springframework.boot' version '2.5.0'
  18. id 'io.spring.dependency-management' version '1.0.10.RELEASE'
  19. id "nebula.integtest" version "7.0.9"
  20. id 'java'
  21. }
  22. repositories {
  23. jcenter()
  24. maven { url "https://repo.spring.io/snapshot" }
  25. }
  26. dependencies {
  27. implementation 'com.squareup.okhttp3:mockwebserver'
  28. implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
  29. implementation 'org.springframework.boot:spring-boot-starter-web'
  30. implementation 'com.nimbusds:oauth2-oidc-sdk'
  31. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  32. testImplementation 'org.springframework.security:spring-security-test'
  33. }
  34. tasks.withType(Test).configureEach {
  35. useJUnitPlatform()
  36. }