docs-modules-guides-examples.gradle 1.1 KB

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id 'java'
  3. }
  4. group = 'org.springframework.security'
  5. version = '0.0.1-SNAPSHOT'
  6. sourceCompatibility = '1.8'
  7. repositories {
  8. mavenCentral()
  9. }
  10. dependencies {
  11. implementation platform('org.springframework.boot:spring-boot-dependencies:2.6.2')
  12. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  13. implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
  14. implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
  15. implementation 'org.springframework.boot:spring-boot-starter-security'
  16. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  17. implementation 'org.springframework.boot:spring-boot-starter-web'
  18. implementation 'org.springframework.security:spring-security-oauth2-authorization-server:0.2.1'
  19. implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
  20. runtimeOnly 'com.h2database:h2'
  21. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  22. testImplementation 'org.springframework.security:spring-security-test'
  23. }
  24. test {
  25. useJUnitPlatform()
  26. }