24 lines
743 B
Groovy
24 lines
743 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.2.2.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
sourceCompatibility = '11'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
sourceSets.main.resources.srcDirs = ["src/main/resources"]
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
runtimeOnly 'com.h2database:h2'
|
|
compile("org.springframework.boot:spring-boot-starter-web")
|
|
} |