You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
885 B

3 years ago
  1. plugins {
  2. id 'org.springframework.boot' version '2.4.2'
  3. id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  4. id 'java'
  5. }
  6. group = 'ru.digitalbanana'
  7. version = '0.0.1-SNAPSHOT'
  8. // java {
  9. // sourceCompatibility = JavaVersion.VERSION_14
  10. // targetCompatibility = JavaVersion.VERSION_14
  11. // }
  12. repositories {
  13. mavenCentral()
  14. maven { url 'https://repo.spring.io/milestone' }
  15. maven { url 'https://repo.spring.io/snapshot' }
  16. }
  17. dependencies {
  18. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  19. implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. runtimeOnly 'org.postgresql:postgresql'
  22. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  23. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  24. }
  25. test {
  26. useJUnitPlatform()
  27. }