35 lines
918 B
Groovy
35 lines
918 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.10'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'com.shockkid'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
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'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
implementation group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.5.1'
|
|
implementation group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.2.2'
|
|
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|