36 lines
776 B
Groovy
36 lines
776 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.2'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com'
|
|
version = '1.1.12'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'cn.hutool:hutool-all:5.8.35'
|
|
implementation 'com.alibaba.fastjson2:fastjson2:2.0.54'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.h2database:h2'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
} |