현재 저의 build.gradle 은 다음과 같습니다.
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
sourceCompatibility = 1.6
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
runtime 'commons-dbcp:commons-dbcp:1.4',
'commons-lang:commons-lang:2.6',
'org.jasypt:jasypt-spring31:1.9.1',
'jstl:jstl:1.2',
'junit:junit:4.11',
'log4j:log4j:1.2.17',
'org.lazyluke:log4jdbc-remix:0.2.7',
'javax.mail:mail:1.4.7',
'org.mybatis:mybatis:3.2.2',
'org.mybatis:mybatis-spring:1.2.0',
'mysql:mysql-connector-java:5.1.26',
'org.slf4j:jcl-over-slf4j:1.7.5',
'org.slf4j:slf4j-log4j12:1.7.5',
'org.apache.tomcat:servlet-api:6.0.37',
'org.springframework:spring-aop:3.2.4.RELEASE',
'org.springframework:spring-context-support:3.2.4.RELEASE',
'org.springframework:spring-jdbc:3.2.4.RELEASE',
'org.springframework:spring-test:3.2.4.RELEASE',
'org.springframework:spring-webmvc:3.2.4.RELEASE',
'org.springframework.security:spring-security-config:3.1.4.RELEASE',
'org.springframework.security:spring-security-taglibs:3.1.4.RELEASE',
'org.springframework.security:spring-security-web:3.1.4.RELEASE',
'org.springframework.security.oauth:spring-security-oauth:1.0.5.RELEASE',
'org.springframework.security.oauth:spring-security-oauth2:1.0.5.RELEASE',
'org.springframework.social:spring-social-twitter:1.0.5.RELEASE',
'org.springframework.social:spring-social-facebook-web:1.0.3.RELEASE',
'org.apache.tiles:tiles-jsp:3.0.1'
compile 'commons-dbcp:commons-dbcp:1.4',
'commons-lang:commons-lang:2.6',
'org.jasypt:jasypt-spring31:1.9.1',
'jstl:jstl:1.2',
'junit:junit:4.11',
'log4j:log4j:1.2.17',
'org.lazyluke:log4jdbc-remix:0.2.7',
'javax.mail:mail:1.4.7',
'org.mybatis:mybatis:3.2.2',
'org.mybatis:mybatis-spring:1.2.0',
'mysql:mysql-connector-java:5.1.26',
'org.slf4j:jcl-over-slf4j:1.7.5',
'org.slf4j:slf4j-log4j12:1.7.5',
'org.apache.tomcat:servlet-api:6.0.37',
'org.springframework:spring-aop:3.2.4.RELEASE',
'org.springframework:spring-context-support:3.2.4.RELEASE',
'org.springframework:spring-jdbc:3.2.4.RELEASE',
'org.springframework:spring-test:3.2.4.RELEASE',
'org.springframework:spring-webmvc:3.2.4.RELEASE',
'org.springframework.security:spring-security-config:3.1.4.RELEASE',
'org.springframework.security:spring-security-taglibs:3.1.4.RELEASE',
'org.springframework.security:spring-security-web:3.1.4.RELEASE',
'org.springframework.security.oauth:spring-security-oauth:1.0.5.RELEASE',
'org.springframework.security.oauth:spring-security-oauth2:1.0.5.RELEASE',
'org.springframework.social:spring-social-twitter:1.0.5.RELEASE',
'org.springframework.social:spring-social-facebook-web:1.0.3.RELEASE',
'org.apache.tiles:tiles-jsp:3.0.1'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
compileJava.options.encoding = 'UTF-8'
webAppDirName = '/webapp'
그리고 권남님 이 경로가 맞는지는 모르겠으나 아래와 같이 각 라이브러리별 경로에 jar 파일이 있습니다.
C:\Users\KDJ\.gradle\caches\artifacts-23\filestore\aopalliance\aopalliance\1.0\source\4a4b6d692e17846a9f3da036438a7ac491d3c814\aopalliance-1.0-sources.jar