Guest User

BuildConfig.groovy

a guest
Sep 11th, 2012
676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
  2. grails.project.class.dir = "target/classes"
  3. grails.project.test.class.dir = "target/test-classes"
  4. grails.project.test.reports.dir = "target/test-reports"
  5. grails.project.target.level = 1.6
  6. grails.project.source.level = 1.6
  7. grails.project.war.file = "target/${appName}-${grails.util.Environment.current.name}-${appVersion}.war"
  8.  
  9. grails.project.dependency.resolution = {
  10. // inherit Grails' default dependencies
  11. inherits("global") {
  12. // uncomment to disable ehcache
  13. // excludes 'ehcache'
  14. }
  15. log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  16. checksums true // Whether to verify checksums on resolve
  17.  
  18. repositories {
  19. inherits true // Whether to inherit repository definitions from plugins
  20. grailsPlugins()
  21. grailsHome()
  22. grailsCentral()
  23.  
  24. // uncomment these to enable remote dependency resolution from public Maven repositories
  25. mavenLocal()
  26. mavenCentral()
  27. //mavenRepo "http://uk.maven.org/maven2"
  28. //mavenRepo "http://snapshots.repository.codehaus.org"
  29. //mavenRepo "http://repository.codehaus.org"
  30. //mavenRepo "http://download.java.net/maven/2/"
  31. //mavenRepo "http://repository.jboss.com/maven2/"
  32. mavenRepo "http://repository.springsource.com/maven/bundles/release"
  33. mavenRepo "http://repository.springsource.com/maven/bundles/external"
  34. }
  35. dependencies {
  36. compile ('org.apache.tika:tika-core:1.0')
  37. compile ('org.apache.tika:tika-parsers:1.0') { excludes "xercesImpl", "xmlParserAPIs", "xml-apis", "log4j" }
  38. runtime ('mysql:mysql-connector-java:5.1.20') { excludes "commons-logging" }
  39. build ('org.apache.httpcomponents:httpcore:4.1.2')
  40. build ('org.apache.httpcomponents:httpclient:4.1.2')
  41. build ('org.apache.httpcomponents:httpmime:4.1.2')
  42. runtime ('org.apache.httpcomponents:httpcore:4.1.2')
  43. runtime ('org.apache.httpcomponents:httpclient:4.1.2')
  44. runtime ('org.apache.httpcomponents:httpmime:4.1.2')
  45. }
  46.  
  47. plugins {
  48. runtime ":hibernate:$grailsVersion"
  49. runtime ":jquery:1.7.2"
  50. runtime ":resources:1.2-RC1"
  51.  
  52. test ":spock:0.6"
  53.  
  54. build ":tomcat:$grailsVersion"
  55. }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment