samples-default-authorizationserver.gradle 938 B

12345678910111213141516171819202122232425262728293031
  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. }
  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-security"
  16. implementation "org.springframework.boot:spring-boot-starter-jdbc"
  17. implementation project(":spring-security-oauth2-authorization-server")
  18. runtimeOnly "com.h2database:h2"
  19. testImplementation "org.springframework.boot:spring-boot-starter-test"
  20. testImplementation "org.springframework.security:spring-security-test"
  21. testImplementation "org.junit.jupiter:junit-jupiter"
  22. testImplementation "net.sourceforge.htmlunit:htmlunit"
  23. }
  24. tasks.named("test") {
  25. useJUnitPlatform()
  26. }