build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.2'
  18. id 'io.spring.dependency-management' version '1.0.10.RELEASE'
  19. id "nebula.integtest" version "8.2.0"
  20. id 'java'
  21. }
  22. repositories {
  23. mavenCentral()
  24. maven { url "https://repo.spring.io/milestone" }
  25. maven { url "https://repo.spring.io/snapshot" }
  26. }
  27. dependencies {
  28. implementation 'com.squareup.okhttp3:mockwebserver'
  29. implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
  30. implementation 'org.springframework.boot:spring-boot-starter-web'
  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. outputs.upToDateWhen { false }
  37. }