samples-demo-authorizationserver.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. java {
  9. sourceCompatibility = JavaVersion.VERSION_17
  10. }
  11. repositories {
  12. mavenCentral()
  13. maven { url "https://repo.spring.io/milestone" }
  14. }
  15. dependencies {
  16. implementation "org.springframework.boot:spring-boot-starter-web"
  17. implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
  18. implementation "org.springframework.boot:spring-boot-starter-security"
  19. implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
  20. implementation "org.springframework.boot:spring-boot-starter-jdbc"
  21. implementation project(":spring-security-oauth2-authorization-server")
  22. runtimeOnly "com.h2database:h2"
  23. testImplementation "org.springframework.boot:spring-boot-starter-test"
  24. testImplementation "org.springframework.security:spring-security-test"
  25. testImplementation "org.junit.jupiter:junit-jupiter"
  26. testImplementation "net.sourceforge.htmlunit:htmlunit"
  27. }
  28. tasks.named("test") {
  29. useJUnitPlatform()
  30. }