|
plugins {
|
|
id 'org.springframework.boot' version '2.4.2'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
id "io.freefair.lombok" version "5.3.0"
|
|
}
|
|
|
|
group = 'ru.digitalbanana'
|
|
version = '0.0.1-SNAPSHOT'
|
|
// java {
|
|
// sourceCompatibility = JavaVersion.VERSION_14
|
|
// targetCompatibility = JavaVersion.VERSION_14
|
|
// }
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
maven { url 'https://repo.spring.io/snapshot' }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|