diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..a3c10f8e --- /dev/null +++ b/build.gradle @@ -0,0 +1,171 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '3.1.2' + id 'io.spring.dependency-management' version '1.1.2' + id 'war' +} + +war { + archiveBaseName = 'sakemall' + archiveFileName = 'sakemall.war' + archiveVersion = "0.0.0" +} + +bootWar.enabled = false +war.enabled = true + +group = 'com.wb' +version = '0.0.1-SNAPSHOT' + +java { + sourceCompatibility = '17' +} + +configurations { + compileOnly { + extendsFrom annotationProcessor + } +} + +repositories { + mavenCentral() +} + +dependencies { + + implementation 'javax.mail:javax.mail-api:1.6.2' + implementation 'com.sun.mail:javax.mail:1.6.2' + + implementation 'org.springframework.cloud:spring-cloud-starter' + implementation 'org.springframework.boot:spring-boot-starter-actuator' + implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' +// implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server' + implementation 'org.springframework.boot:spring-boot-starter-security' + + providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' + + implementation 'org.springframework.security:spring-security-oauth2-jose:6.1.2' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.apache.tomcat.embed:tomcat-embed-jasper' + implementation 'jakarta.servlet:jakarta.servlet-api' + implementation 'jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api' + implementation 'org.glassfish.web:jakarta.servlet.jsp.jstl' + implementation 'org.springframework.boot:spring-boot-starter-webflux' + implementation 'org.springframework.boot:spring-boot-starter-validation:3.0.2' + implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2' + implementation 'org.apache.commons:commons-collections4:4.4' + implementation 'org.springframework.boot:spring-boot-starter-mail:3.1.2' + implementation 'com.googlecode.json-simple:json-simple:1.1.1' + implementation 'org.apache.poi:poi:5.2.3' + implementation 'org.apache.poi:poi-ooxml:5.2.3' + implementation 'org.bouncycastle:bcprov-jdk15to18:1.68' + implementation 'org.bouncycastle:bcpkix-jdk15to18:1.68' + + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' + implementation 'org.springframework.boot:spring-boot-starter-jdbc' + + implementation 'org.springframework.boot:spring-boot-starter-cache' + implementation 'com.github.ben-manes.caffeine:caffeine' + + // 네이버페이 관련 의존 추가 ----------------- +// implementation "org.bouncycastle:bcprov-jdk15on:1.61" + implementation "org.apache.axis2:axis2:1.6.1" + implementation "org.apache.ws.commons.axiom:axiom-api:1.2.22" +// implementation "javax.activation:activation:1.1.1" + + implementation 'jakarta.mail:jakarta.mail-api:2.1.3' + // implementation 'javax.activation:javax.activation-api:1.2.0' + + //spring batch 추가 + implementation 'org.springframework.boot:spring-boot-starter-batch' + + +// implementation files('lib/bcprov-jdk13-138.jar') +// implementation files('lib/bcprov-jdk14-138.jar') +// implementation files('lib/bcprov-jdk15-138.jar') +// implementation files('lib/bcprov-jdk16-138.jar') + implementation files('lib/SimpleCryptLib-1.1.0.jar') + + + implementation ("org.apache.ws.commons.axiom:axiom-impl:1.2.22") { + exclude group: 'org.apache.geronimo.specs', module: 'geronimo-stax-api_1.0_spec' + exclude group: 'commons-logging', module: 'commons-logging' + } + + implementation 'wsdl4j:wsdl4j:1.6.3' //javax/wsdl/Definition + implementation 'org.apache.ws.xmlschema:xmlschema-core:2.2.1' //org/apache/ws/commons/schema/XmlSchema + implementation 'org.apache.neethi:neethi:3.1.0' //org/apache/neethi/PolicyComponent + implementation ('org.apache.axis2:axis2-transport-http:1.7.1') { //org.apache.axis2.transport.local.LocalTransportSender + exclude group: 'org.apache.geronimo.specs', module: 'geronimo-stax-api_1.0_spec' + exclude group: 'commons-logging', module: 'commons-logging' + } + implementation ('org.apache.axis2:axis2-transport-local:1.7.1') { + exclude group: 'org.apache.geronimo.specs', module: 'geronimo-stax-api_1.0_spec' + exclude group: 'commons-logging', module: 'commons-logging' + } + implementation 'javax.xml.bind:jaxb-api:2.3.1' + implementation 'javax.xml.ws:jaxws-api:2.3.1' + implementation 'com.sun.xml.ws:jaxws-rt:2.3.5' + implementation 'com.sun.xml.messaging.saaj:saaj-impl:1.5.3' + implementation 'com.sun.xml.bind:jaxb-impl:2.3.3' + + implementation fileTree(dir: 'lib', includes: ['*.jar']) + implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.2' + // obejctMapper LocalDateTIme 처리모듈 + implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.2") + // 네이버페이 관련 의존 추가 ----------------- + + compileOnly 'org.projectlombok:lombok' + developmentOnly 'org.springframework.boot:spring-boot-devtools' + runtimeOnly 'com.mysql:mysql-connector-j' + annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' + testImplementation 'io.projectreactor:reactor-test' + testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.2' + +// implementation "io.projectreactor.netty:reactor-netty" + implementation "org.webjars:webjars-locator-core" + implementation "org.webjars:bootstrap:5.2.3" + implementation "org.webjars:popper.js:2.9.3" + implementation "org.webjars:jquery:3.7.1" + implementation "org.webjars:jquery-ui:1.13.2" + implementation "org.webjars.npm:jquery-nice-select:1.1.0" + implementation "org.webjars.bower:jquery-modal:0.9.1" + implementation 'org.apache.tika:tika-core:2.5.0' + + // xml + implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0' + implementation 'org.glassfish.jaxb:jaxb-runtime:4.0.0' + + //email html parse + implementation group: 'org.jsoup', name: 'jsoup', version: '1.15.3' + + // firebase + implementation 'com.google.firebase:firebase-admin:9.3.0' + + // ShedLock + implementation 'net.javacrumbs.shedlock:shedlock-spring:5.10.0' + implementation 'net.javacrumbs.shedlock:shedlock-provider-jdbc-template:5.10.0' + + implementation 'org.apache.commons:commons-text:1.10.0' // Apache Commons Text 추가 + + compileOnly group: 'com.twelvemonkeys.imageio', name: 'imageio', version: '3.6', ext: 'pom' + + //jjwt + implementation("io.jsonwebtoken:jjwt-api:0.11.5") + runtimeOnly("io.jsonwebtoken:jjwt-impl:0.11.5") + implementation("io.jsonwebtoken:jjwt-jackson:0.11.5") + + +} + +ext { + set('springCloudVersion', "2022.0.4") +} + +dependencyManagement { + imports { + mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" + } +}