You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.4 KiB
Groovy
67 lines
2.4 KiB
Groovy
2 years ago
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '2.7.7'
|
||
|
id 'io.spring.dependency-management' version '1.1.0'
|
||
|
id 'org.asciidoctor.convert' version '1.5.8'
|
||
|
}
|
||
|
|
||
|
group = 'edu.shou'
|
||
|
version = '1.0.0'
|
||
|
sourceCompatibility = '17'
|
||
|
|
||
|
configurations {
|
||
|
compileOnly {
|
||
|
extendsFrom annotationProcessor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
ext {
|
||
|
set('snippetsDir', file("build/generated-snippets"))
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||
|
implementation 'com.alibaba:easyexcel:3.1.5'
|
||
|
implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.3.1'
|
||
|
implementation 'com.github.spotbugs:spotbugs-annotations:4.7.3'
|
||
|
implementation 'commons-codec:commons-codec:1.15'
|
||
|
implementation 'commons-io:commons-io:2.11.0'
|
||
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
|
||
|
implementation 'io.minio:minio:8.5.1'
|
||
|
implementation 'net.java.dev.jna:jna:5.13.0'
|
||
|
implementation 'org.apache.commons:commons-pool2:2.11.1'
|
||
|
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-aop'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-cache'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
implementation 'org.yaml:snakeyaml:1.33'
|
||
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
||
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
|
||
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
|
||
|
testImplementation 'org.springframework.security:spring-security-test'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
outputs.dir snippetsDir
|
||
|
}
|
||
|
|
||
|
tasks.named('asciidoctor') {
|
||
|
inputs.dir snippetsDir
|
||
|
dependsOn test
|
||
|
}
|