mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 02:42:25 +00:00
42 lines
1016 B
Groovy
42 lines
1016 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.0'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'com.bytedesk'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
//
|
|
implementation project(':core')
|
|
//
|
|
compileOnly 'org.springframework.boot:spring-boot-starter-web'
|
|
compileOnly 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
|
|
//
|
|
// for api docs
|
|
// https://springdoc.org/
|
|
// https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui
|
|
// http://localhost:9003/swagger-ui/index.html
|
|
// http://localhost:9003/v3/api-docs
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
|
//
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|