35 lines
830 B
Groovy
35 lines
830 B
Groovy
|
plugins {
|
||
|
id 'org.springframework.boot' version '2.5.4'
|
||
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group = 'com.myoa.engineering.music'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
sourceCompatibility = '11'
|
||
|
|
||
|
configurations {
|
||
|
compileOnly {
|
||
|
extendsFrom annotationProcessor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||
|
runtimeOnly 'com.h2database:h2'
|
||
|
runtimeOnly 'mysql:mysql-connector-java'
|
||
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|