samples-demo-authorizationserver.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. id "org.springframework.boot" version "3.2.2"
  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. sourceCompatibility = "17"
  9. repositories {
  10. mavenCentral()
  11. maven { url "https://repo.spring.io/milestone" }
  12. }
  13. dependencies {
  14. implementation "org.springframework.boot:spring-boot-starter-web"
  15. implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
  16. implementation "org.springframework.boot:spring-boot-starter-security"
  17. implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
  18. implementation "org.springframework.boot:spring-boot-starter-jdbc"
  19. implementation project(":spring-security-oauth2-authorization-server")
  20. runtimeOnly "com.h2database:h2"
  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 "net.sourceforge.htmlunit:htmlunit"
  25. }
  26. tasks.named("test") {
  27. useJUnitPlatform()
  28. }