51 lines
1.4 KiB
Groovy
51 lines
1.4 KiB
Groovy
buildscript {
|
|
dependencies {
|
|
classpath "io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.springframework.boot' version '2.5.2'
|
|
id 'java'
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility = 11
|
|
targetCompatibility = 11
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'java-library'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group 'org.example'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
|
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
|
|
implementation 'io.springfox:springfox-swagger2:2.9.2'
|
|
|
|
testImplementation 'com.tngtech.archunit:archunit:1.0.1'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'javax.persistence:javax.persistence-api:2.2'
|
|
// implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.jetbrains:annotations:23.0.0'
|
|
testImplementation 'junit:junit:4.13.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |