samples-demo-authorizationserver.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id "org.springframework.boot" version "3.1.0"
  3. id "io.spring.dependency-management" version "1.1.0"
  4. id "java"
  5. id 'org.graalvm.buildtools.native' version '0.9.27'
  6. }
  7. group = project.rootProject.group
  8. version = project.rootProject.version
  9. sourceCompatibility = "17"
  10. repositories {
  11. mavenCentral()
  12. maven { url "https://repo.spring.io/milestone" }
  13. }
  14. dependencies {
  15. implementation "org.springframework.boot:spring-boot-starter-web"
  16. implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
  17. implementation "org.springframework.boot:spring-boot-starter-security"
  18. implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
  19. implementation "org.springframework.boot:spring-boot-starter-jdbc"
  20. implementation project(":spring-security-oauth2-authorization-server")
  21. runtimeOnly "com.h2database:h2"
  22. testImplementation "org.springframework.boot:spring-boot-starter-test"
  23. testImplementation "org.springframework.security:spring-security-test"
  24. testImplementation "org.junit.jupiter:junit-jupiter"
  25. testImplementation "net.sourceforge.htmlunit:htmlunit"
  26. }
  27. tasks.named("test") {
  28. useJUnitPlatform()
  29. }