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.

88 lines
3.0 KiB
Groovy

plugins {
id 'org.springframework.boot' version '2.6.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'war'
}
//23.02.17 최정민
//그래들 빌드(.war) 옵션 추가
//app-ci > build > libs / war 경로
apply plugin: 'war'
bootWar {
archiveBaseName = 'ci-1.0.0'
archiveFileName = 'ci-1.0.0.war'
archiveVersion = "1.0.0"
}
group = 'cokr.xit'
version = '1.0.0'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
/* ================================================================================== */
/* Core */
/* ================================================================================== */
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-devtools'
/* ================================================================================== */
/* Jsp */
/* ================================================================================== */
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
/* ================================================================================== */
/* HttpClient */
/* ================================================================================== */
implementation 'org.apache.httpcomponents:httpcore:4.4.6'
implementation 'org.apache.httpcomponents:httpclient:4.5.11'
implementation 'org.apache.commons:commons-io:1.3.2'
/* ================================================================================== */
/* Springdoc */
/* ================================================================================== */
implementation 'org.springdoc:springdoc-openapi-ui:1.6.3'
/* ================================================================================== */
/* Database */
/* ================================================================================== */
runtimeOnly 'com.h2database:h2:1.4.199'
/* ================================================================================== */
/* Lombok */
/* ================================================================================== */
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
/* =================================================================================== */
/* External Jar.. */
/* =================================================================================== */
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.code.gson:gson:2.9.0'
}
tasks.named('test') {
// useJUnitPlatform()
}