docs-modules-guides-examples.gradle 1.2 KB

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