Skip to content

Commit

Permalink
Use transitive dependencies for build, removed jars from lib
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Feb 15, 2011
1 parent 000eb1e commit 0df1cbc
Show file tree
Hide file tree
Showing 83 changed files with 104 additions and 6 deletions.
108 changes: 103 additions & 5 deletions build.gradle
Expand Up @@ -8,6 +8,7 @@ buildscript {
}

apply plugin: 'groovy'
apply plugin: 'eclipse'

version = '1.4.0.BUILD-SNAPSHOT'

Expand All @@ -16,15 +17,112 @@ targetCompatibility = "1.5"
archivesBaseName = 'grails'

configurations {
compile.transitive = true
compile.transitive = false
jsp21.extendsFrom compile
}

repositories {
mavenRepo urls:"http://maven.springframework.org/release"
}
dependencies {
lib = "$projectDir/lib"
groovy files(fileTree(dir: lib as File, includes: ['groovy-all-*.jar']))
compile files(fileTree(dir: lib as File, includes: ['*.jar'], excludes: ['jsp-api-2.1.jar', 'groovy-all-1.8.0-beta-4.jar']), "${System.getenv('JAVA_HOME')}/lib/tools.jar")
jsp21 files("$lib/jsp-api-2.1.jar")
// Jars in lib
compile files(fileTree(dir:"$projectDir/lib" as File))

// Ant
def antVersion = "1.7.1"
compile "org.apache.ant:ant:${antVersion}",
"org.apache.ant:ant-launcher:${antVersion}",
"org.apache.ant:ant-junit:${antVersion}",
"org.apache.ant:ant-nodeps:${antVersion}",
"org.apache.ant:ant-trax:${antVersion}",
"org.apache.ivy:ivy:2.2.0"

// Apache Commons
compile 'commons-beanutils:commons-beanutils:1.8.0' ,
'commons-cli:commons-cli:1.0',
'commons-codec:commons-codec:1.4',
'commons-collections:commons-collections:3.2.1',
'commons-dbcp:commons-dbcp:1.3',
'commons-el:commons-el:1.0',
'commons-fileupload:commons-fileupload:1.2.1',
'commons-io:commons-io:1.4',
'commons-lang:commons-lang:2.4',
'commons-pool:commons-pool:1.5.5',
'commons-validator:commons-validator:1.3.1'

// Others
compile( 'cglib:cglib-nodep:2.1_3',
'org.fusesource.jansi:jansi:1.2.1',
'oro:oro:2.0.8',
'com.h2database:h2:1.2.147',
'com.lowagie:itext:2.1.7',
'org.xhtmlrenderer:core-renderer:R8pre2',
'jline:jline:0.9.94',
'opensymphony:sitemesh:2.4',
'org.tmatesoft.svnkit:svnkit:1.3.4',
'ognl:ognl:2.7.3',
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.1_jdk5')

// Testing
compile 'junit:junit:4.8.1'

// XML
compile 'xpp3:xpp3_min:1.1.4c'
compile 'xalan:serializer:2.7.1'

// Logging
compile 'org.slf4j:slf4j-log4j12:1.6.1'
compile 'org.slf4j:slf4j-api:1.6.1'
compile 'org.slf4j:jcl-over-slf4j:1.6.1'
compile 'org.slf4j:jul-to-slf4j:1.6.1'
compile 'log4j:log4j:1.2.16'

// Specs
compile 'javax.servlet:jsp-api:2.0'
compile 'javax.servlet:servlet-api:2.5'
compile 'jstl:jstl:1.1.2'
compile 'net.sf.jsr107cache:jsr107cache:1.0'
compile 'javax.transaction:jta:1.1'
compile 'javax.persistence:persistence-api:1.0'

// Hibernate related
compile 'org.hibernate:hibernate-annotations:3.4.0.GA',
'org.hibernate:hibernate-commons-annotations:3.1.0.GA',
'org.hibernate:hibernate-core:3.3.1.GA',
'org.hibernate:hibernate-validator:3.1.0.GA',
'org.hibernate:hibernate-ehcache:3.3.1.GA',
'javassist:javassist:3.12.0.GA',
'antlr:antlr:2.7.6'

// Spring
def springVersion = "3.0.3.RELEASE"
compile "org.springframework:spring-aop:${springVersion}",
"org.springframework:spring-asm:${springVersion}",
"org.springframework:spring-aspects:${springVersion}",
"org.springframework:spring-beans:${springVersion}",
"org.springframework:spring-context:${springVersion}",
"org.springframework:spring-core:${springVersion}",
"org.springframework:spring-expression:${springVersion}",
"org.springframework:spring-instrument:${springVersion}",
"org.springframework:spring-jdbc:${springVersion}",
"org.springframework:spring-jms:${springVersion}",
"org.springframework:spring-orm:${springVersion}",
"org.springframework:spring-test:${springVersion}",
"org.springframework:spring-tx:${springVersion}",
"org.springframework:spring-web:${springVersion}",
"org.springframework:spring-webmvc:${springVersion}"


// Spring Web Flow
compile "org.springframework.webflow:spring-binding:2.0.8.RELEASE",
"org.springframework.webflow:spring-js:2.0.8.RELEASE",
"org.springframework.webflow:spring-webflow:2.0.8.RELEASE"

// Groovy
groovy "org.codehaus.groovy:groovy-all:1.8.0-beta-4"
compile 'org.codehaus.gpars:gpars:0.9'

jsp21 'javax.servlet:jsp-api:2.1'
}

sourceSets {
Expand Down
Binary file removed lib/ant-1.7.1.jar
Binary file not shown.
Binary file removed lib/ant-junit-1.7.1.jar
Binary file not shown.
Binary file removed lib/ant-launcher-1.7.1.jar
Binary file not shown.
Binary file removed lib/ant-nodeps-1.7.1.jar
Binary file not shown.
Binary file removed lib/ant-trax-1.7.1.jar
Binary file not shown.
Binary file removed lib/antlr-2.7.6.jar
Binary file not shown.
Binary file removed lib/aopalliance-1.0.jar
Binary file not shown.
Binary file removed lib/aspectjrt-1.6.8.jar
Binary file not shown.
Binary file removed lib/aspectjweaver-1.6.8.jar
Binary file not shown.
Binary file removed lib/cglib-nodep-2.1_3.jar
Binary file not shown.
Binary file removed lib/commons-beanutils-1.8.0.jar
Binary file not shown.
Binary file removed lib/commons-cli-1.0.jar
Binary file not shown.
Binary file removed lib/commons-codec-1.4.jar
Binary file not shown.
Binary file removed lib/commons-collections-3.2.1.jar
Binary file not shown.
Binary file removed lib/commons-dbcp-1.3.jar
Binary file not shown.
Binary file removed lib/commons-el-1.0.jar
Binary file not shown.
Binary file removed lib/commons-fileupload-1.2.1.jar
Binary file not shown.
Binary file removed lib/commons-io-1.4.jar
Binary file not shown.
Binary file removed lib/commons-lang-2.4.jar
Binary file not shown.
Binary file removed lib/commons-pool-1.5.5.jar
Binary file not shown.
Binary file removed lib/commons-validator-1.3.1.jar
Binary file not shown.
Binary file removed lib/concurrentlinkedhashmap-lru-1.0_jdk5.jar
Binary file not shown.
Binary file removed lib/core-renderer-R8.jar
Binary file not shown.
Binary file removed lib/dom4j-1.6.1.jar
Binary file not shown.
Binary file removed lib/ehcache-core-1.7.1.jar
Binary file not shown.
Binary file removed lib/ejb3-persistence-1.0.2.GA.jar
Binary file not shown.
Binary file removed lib/gpars-0.9.jar
Binary file not shown.
Binary file removed lib/groovy-all-1.8.0-beta-4.jar
Binary file not shown.
Binary file removed lib/h2-1.2.144.jar
Binary file not shown.
Binary file removed lib/hibernate-annotations-3.4.0.GA.jar
Binary file not shown.
Binary file removed lib/hibernate-commons-annotations-3.1.0.GA.jar
Binary file not shown.
Binary file removed lib/hibernate-core-3.3.1.GA.jar
Binary file not shown.
Binary file removed lib/hibernate-ehcache-3.3.1.GA.jar
Binary file not shown.
Binary file removed lib/hibernate-validator-3.1.0.GA.jar
Binary file not shown.
Binary file removed lib/hsqldb-1.8.0.10.jar
Binary file not shown.
Binary file removed lib/itext-2.0.8.jar
Binary file not shown.
Binary file removed lib/ivy-2.2.0.jar
Binary file not shown.
Binary file removed lib/jansi-1.2.1.jar
Binary file not shown.
Binary file removed lib/javassist-3.11.0.GA.jar
Binary file not shown.
Binary file removed lib/jcl-over-slf4j-1.5.8.jar
Binary file not shown.
Binary file removed lib/jline-0.9.94.jar
Binary file not shown.
Binary file removed lib/jsp-api-2.0.jar
Binary file not shown.
Binary file removed lib/jsp-api-2.1.jar
Binary file not shown.
Binary file removed lib/jsr107cache-1.0.jar
Binary file not shown.
Binary file removed lib/jsr166y-070108.jar
Binary file not shown.
Binary file removed lib/jstl-1.1.2.jar
Binary file not shown.
Binary file removed lib/jta-1.1.jar
Binary file not shown.
Binary file removed lib/jul-to-slf4j-1.5.8.jar
Binary file not shown.
Binary file removed lib/junit-4.8.1.jar
Binary file not shown.
Binary file removed lib/log4j-1.2.16.jar
Binary file not shown.
Binary file removed lib/ognl-2.7.3.jar
Binary file not shown.
Binary file removed lib/org.springframework.aop-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.asm-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.aspects-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.beans-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.binding-2.0.8.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.context-3.0.3.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/org.springframework.core-3.0.3.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/org.springframework.instrument-3.0.3.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/org.springframework.jdbc-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.jms-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.js-2.0.8.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.orm-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.oxm-3.0.3.RELEASE.jar
Binary file not shown.
Binary file removed lib/org.springframework.test-3.0.3.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/org.springframework.web-3.0.3.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file removed lib/org.springframework.webflow-2.0.8.RELEASE.jar
Binary file not shown.
Binary file removed lib/oro-2.0.8.jar
Binary file not shown.
Binary file removed lib/serializer-2.7.1.jar
Binary file not shown.
Binary file removed lib/servlet-api-2.5.jar
Binary file not shown.
Binary file removed lib/sitemesh-2.4.jar
Binary file not shown.
Binary file removed lib/slf4j-api-1.5.8.jar
Binary file not shown.
Binary file removed lib/slf4j-log4j12-1.5.8.jar
Binary file not shown.
Binary file removed lib/standard-1.1.2.jar
Binary file not shown.
Binary file removed lib/svnkit-1.3.1.jar
Binary file not shown.
Binary file removed lib/xpp3_min-1.1.3.4.O.jar
Binary file not shown.
Expand Up @@ -130,7 +130,7 @@ private void initLocaleResolver(ApplicationContext context) {
}
catch (NoSuchBeanDefinitionException ex) {
// We need to use the default.
localeResolver = getDefaultStrategy(context, LocaleResolver.class);
localeResolver = (LocaleResolver) getDefaultStrategy(context, LocaleResolver.class);
if (logger.isDebugEnabled()) {
logger.debug("Unable to locate LocaleResolver with name '" + LOCALE_RESOLVER_BEAN_NAME +
"': using default [" + localeResolver + "]");
Expand Down

0 comments on commit 0df1cbc

Please sign in to comment.