plugins { id 'java-library' id 'maven-publish' id 'war' id 'project-report' } repositories { mavenCentral() maven { url 'https://maven.egovframe.go.kr/maven' } } dependencies { implementation 'org.egovframe.rte:org.egovframe.rte.ptl.mvc:4.2.0' implementation 'org.egovframe.rte:org.egovframe.rte.psl.dataaccess:4.2.0' implementation 'org.egovframe.rte:org.egovframe.rte.fdl.idgnr:4.2.0' implementation 'org.egovframe.rte:org.egovframe.rte.fdl.property:4.2.0' implementation 'javax.servlet.jsp.jstl:jstl-api:1.2' implementation 'org.apache.taglibs:taglibs-standard-impl:1.2.5' implementation 'org.antlr:antlr:3.5' implementation 'org.hsqldb:hsqldb:2.7.2' implementation 'org.eclipse:yasson:1.0.2' implementation 'org.glassfish:javax.json:1.1.3' providedCompile 'javax.servlet:javax.servlet-api:4.0.1' } group = 'egovframe' version = '1.0.0' description = 'maven2gradle' java.sourceCompatibility = JavaVersion.VERSION_1_8 publishing { publications { maven(MavenPublication) { from(components.java) } } }
3rd party 라이브러리로 별도의 설치가 필요한 경우에는 다음을 참고한다.
def libDir='src/main/webapp/WEB-INF/lib/project' repositories { flatDir { dirs libDir } } dependencies { // 3rd party 라이브러리로 별도의 설치 필요 implementation files("${libDir}/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar") implementation files("${libDir}/altibase/7.1.0/altibase-7.1.0.jar") implementation files("${libDir}/tibero5/5.0.0/tibero5-5.0.0.jar") implementation files("${libDir}/cubrid/10.2.0/cubrid-10.2.0.jar") implementation files("${libDir}/goldilocks8/8.0.0/goldilocks8-8.0.0.jar") implementation files("${libDir}/smeapi/2.7.0/smeapi-2.7.0.jar") implementation files("${libDir}/gpkisecureweb/1.0.4.9/gpkisecureweb-1.0.4.9.jar") implementation files("${libDir}/libgpkiapi/1.4.0/libgpkiapi-1.4.0.jar") implementation files("${libDir}/onepass/2.0.0/onepass-2.0.0.jar") implementation files("${libDir}/OmniEntSDKCore/1.0.3.5/OmniEntSDKCore-1.0.3.5.jar") implementation files("${libDir}/OmniEntSDKServerCore/1.0.3.5/OmniEntSDKServerCore-1.0.3.5.jar") implementation files("${libDir}/OmniEntSDKVerifier/1.0.3.6/OmniEntSDKVerifier-1.0.3.6.jar") implementation files("${libDir}/RSLicenseSDK/1.0.4/RSLicenseSDK-1.0.4.jar") }