samples-default-authorizationserver.gradle 1003 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id "org.springframework.boot" version "4.0.0-SNAPSHOT"
  3. id "io.spring.dependency-management" version "1.1.0"
  4. id "java"
  5. }
  6. group = project.rootProject.group
  7. version = project.rootProject.version
  8. java {
  9. sourceCompatibility = JavaVersion.VERSION_17
  10. }
  11. repositories {
  12. mavenCentral()
  13. maven { url "https://repo.spring.io/milestone" }
  14. maven { url "https://repo.spring.io/snapshot" }
  15. }
  16. dependencies {
  17. implementation "org.springframework.boot:spring-boot-starter-web"
  18. implementation "org.springframework.boot:spring-boot-starter-security"
  19. implementation "org.springframework.boot:spring-boot-starter-oauth2-authorization-server"
  20. implementation project(":spring-security-oauth2-authorization-server")
  21. testImplementation "org.springframework.boot:spring-boot-starter-test"
  22. testImplementation "org.springframework.security:spring-security-test"
  23. testImplementation "org.junit.jupiter:junit-jupiter"
  24. testImplementation "org.htmlunit:htmlunit"
  25. }
  26. tasks.named("test") {
  27. useJUnitPlatform()
  28. }