50 lines
1.6 KiB
Groovy
50 lines
1.6 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.3.1.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.epri.fx.server'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
testImplementation 'io.projectreactor:reactor-test'
|
|
implementation 'org.springframework.boot:spring-boot-starter-cache'
|
|
implementation files('libs/DmJdbcDriver-1.0.0.jar')
|
|
implementation 'com.alibaba:druid-spring-boot-starter:1.1.14'
|
|
implementation 'io.jsonwebtoken:jjwt:0.7.0'
|
|
compile 'joda-time:joda-time:2.10.1'
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.3'
|
|
implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.2.5'
|
|
implementation 'mysql:mysql-connector-java:8.0.20'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
implementation 'org.apache.commons:commons-lang3:3.4'
|
|
|
|
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = "UTF-8"
|
|
} |