94 lines
2.9 KiB
Groovy
94 lines
2.9 KiB
Groovy
|
|
plugins
|
|
{
|
|
id 'org.springframework.boot' version '2.6.2'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'org.asciidoctor.convert' version '1.5.8'
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group = 'com.urpsys'
|
|
version = '1.0.0-SNAPSHOT'
|
|
sourceCompatibility = '16'
|
|
|
|
configurations
|
|
{
|
|
|
|
compileOnly
|
|
{
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories
|
|
{
|
|
mavenCentral()
|
|
}
|
|
|
|
ext
|
|
{
|
|
set('snippetsDir', file("build/generated-snippets"))
|
|
}
|
|
|
|
dependencies
|
|
{
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
implementation 'org.springframework.boot:spring-boot-starter-cache'
|
|
implementation 'org.springframework.boot:spring-boot-starter-integration'
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
|
implementation 'org.springframework.boot:spring-boot-starter-quartz'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
implementation ('org.springframework.boot:spring-boot-starter-web')
|
|
{
|
|
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
|
|
}
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // DB 처리
|
|
// compileOnly 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // DB 처리
|
|
|
|
// mariadb connect lib
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client' // mariadb 연결처리
|
|
// oracle connect lib
|
|
// implementation group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.8.0.0'
|
|
|
|
// http 통신
|
|
implementation 'org.springframework.boot:spring-boot-starter-undertow'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
|
|
|
|
// log 처리
|
|
compileOnly 'org.projectlombok:lombok:1.18.20'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.20'
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
implementation 'commons-codec:commons-codec:1.15' // 암호화처리
|
|
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16' // sql log 처리
|
|
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security' // 보안처리
|
|
implementation 'org.springframework.security:spring-security-jwt:1.0.9.RELEASE' // 토크처리
|
|
implementation group: 'org.springframework.security.oauth', name: 'spring-security-oauth2', version: '2.3.4.RELEASE' // spring oauth 2.0
|
|
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.3'
|
|
|
|
}
|
|
|
|
test
|
|
{
|
|
outputs.dir snippetsDir
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
asciidoctor
|
|
{
|
|
inputs.dir snippetsDir
|
|
dependsOn test
|
|
}
|
|
|