[532] | 1 | grails.project.class.dir = "target/classes" |
---|
| 2 | grails.project.test.class.dir = "target/test-classes" |
---|
[913] | 3 | grails.project.test.reports.dir = "target/test-reports" |
---|
[933] | 4 | //grails.project.war.file = "target/${appName}-${appVersion}.war" |
---|
| 5 | grails.project.war.file = "target/${appName}.war" |
---|
[532] | 6 | |
---|
[959] | 7 | grails.project.war.exploded.dir = "target/exploded-war" |
---|
| 8 | |
---|
[532] | 9 | grails.war.resources = { stagingDir, args -> |
---|
[913] | 10 | // Remove some duplicate/not required jars. |
---|
| 11 | // From export plugin lib dir. |
---|
[532] | 12 | delete file: "${stagingDir}/WEB-INF/lib/iText-2.1.5.jar" |
---|
[913] | 13 | // From acegi plugin lib dir. |
---|
| 14 | delete file: "${stagingDir}/WEB-INF/lib/facebook-java-api-2.0.4.jar" |
---|
| 15 | delete file: "${stagingDir}/WEB-INF/lib/easymock.jar" |
---|
| 16 | delete file: "${stagingDir}/WEB-INF/lib/cas-client-core-3.1.1.jar" |
---|
| 17 | delete file: "${stagingDir}/WEB-INF/lib/openid4java-0.9.2.jar" |
---|
| 18 | |
---|
[532] | 19 | } |
---|
| 20 | |
---|
| 21 | grails.project.dependency.resolution = { |
---|
| 22 | |
---|
| 23 | // inherit Grails' default dependencies |
---|
[913] | 24 | inherits("global") { |
---|
[532] | 25 | // uncomment to disable ehcache |
---|
| 26 | // excludes 'ehcache' |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' |
---|
| 30 | |
---|
| 31 | repositories { |
---|
[913] | 32 | grailsHome() |
---|
[532] | 33 | grailsPlugins() |
---|
[913] | 34 | grailsCentral() |
---|
[532] | 35 | |
---|
| 36 | // uncomment the below to enable remote dependency resolution |
---|
| 37 | // from public Maven repositories |
---|
| 38 | //mavenLocal() |
---|
| 39 | mavenCentral() |
---|
[913] | 40 | mavenRepo "https://nexus.codehaus.org/content/repositories/snapshots" |
---|
[532] | 41 | //mavenRepo "http://snapshots.repository.codehaus.org" |
---|
| 42 | //mavenRepo "http://repository.codehaus.org" |
---|
| 43 | //mavenRepo "http://download.java.net/maven/2/" |
---|
| 44 | //mavenRepo "http://repository.jboss.com/maven2/" |
---|
| 45 | } |
---|
| 46 | |
---|
[913] | 47 | plugins { |
---|
| 48 | runtime ':acegi:0.5.3' |
---|
| 49 | runtime ':export:0.7' |
---|
| 50 | runtime ':filterpane:0.7' |
---|
| 51 | runtime ':help-balloons:1.4' |
---|
| 52 | runtime(':jasper:1.1.3') { |
---|
| 53 | transitive = false |
---|
| 54 | } |
---|
| 55 | runtime ':navigation:1.1.1' |
---|
| 56 | runtime ':quartz:0.4.2' |
---|
| 57 | runtime ':richui:0.8' |
---|
| 58 | runtime ':searchable:0.6-SNAPSHOT' |
---|
| 59 | |
---|
| 60 | test ':geb:0.6-SNAPSHOT' |
---|
| 61 | test ':spock:0.5-groovy-1.7' |
---|
| 62 | } |
---|
| 63 | |
---|
[532] | 64 | dependencies { |
---|
| 65 | // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg. |
---|
| 66 | |
---|
[561] | 67 | runtime 'mysql:mysql-connector-java:5.1.9' |
---|
[532] | 68 | |
---|
[913] | 69 | // Japser plugin. |
---|
| 70 | runtime('net.sf.jasperreports:jasperreports:3.7.2') { |
---|
| 71 | excludes 'antlr', 'commons-beanutils', 'commons-collections', 'commons-logging', |
---|
| 72 | 'ant', 'mondrian', 'commons-javaflow','barbecue', 'xml-apis-ext','xml-apis', 'xalan', 'groovy-all', 'hibernate', 'saaj-api', 'servlet-api', |
---|
| 73 | 'xercesImpl','xmlParserAPIs','spring-core','bsh', 'spring-beans', 'jaxen', 'barcode4j','batik-svg-dom','batik-xml','batik-awt-util','batik-dom', |
---|
| 74 | 'batik-css','batik-gvt','batik-script', 'batik-svggen','batik-util','batik-bridge','persistence-api','jdtcore','bcmail-jdk14','bcprov-jdk14','bctsp-jdk14' |
---|
[561] | 75 | } |
---|
[913] | 76 | runtime('org.apache.poi:poi:3.5-FINAL') { |
---|
| 77 | excludes 'log4j', 'commons-logging' |
---|
| 78 | } |
---|
[561] | 79 | |
---|
[913] | 80 | // Origin unknown, still required? |
---|
| 81 | runtime('org.apache.ant:ant:1.7.1') |
---|
| 82 | runtime('org.apache.ant:ant-launcher:1.7.1') |
---|
| 83 | |
---|
| 84 | test('org.seleniumhq.selenium:selenium-htmlunit-driver:latest.release') { |
---|
[532] | 85 | excludes 'xml-apis' |
---|
| 86 | } |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | } |
---|