Guest User

Untitled

a guest
Jul 14th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. grails.servlet.version = "3.0" // 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.work.dir = "target/work"
  6. grails.project.target.level = 1.6
  7. grails.project.source.level = 1.6
  8. //grails.project.war.file = "target/${appName}-${appVersion}.war"
  9.  
  10. grails.project.fork = [
  11. // configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
  12. // compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
  13.  
  14. // configure settings for the test-app JVM, uses the daemon by default
  15. test : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon: true],
  16. // configure settings for the run-app JVM
  17. run : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve: false],
  18. // configure settings for the run-war JVM
  19. war : [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve: false],
  20. // configure settings for the Console UI JVM
  21. console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
  22. ]
  23.  
  24. grails.project.dependency.resolver = "maven" // or ivy
  25. grails.project.dependency.resolution = {
  26. // inherit Grails' default dependencies
  27. inherits("global") {
  28. // specify dependency exclusions here; for example, uncomment this to disable ehcache:
  29. // excludes 'ehcache'
  30. }
  31. log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  32. checksums true // Whether to verify checksums on resolve
  33. legacyResolve false
  34. // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
  35.  
  36. repositories {
  37. inherits true // Whether to inherit repository definitions from plugins
  38.  
  39. grailsPlugins()
  40. grailsHome()
  41. mavenLocal()
  42. grailsCentral()
  43. mavenCentral()
  44. // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
  45. //mavenRepo "http://repository.codehaus.org"
  46. //mavenRepo "http://download.java.net/maven/2/"
  47. //mavenRepo "http://repository.jboss.com/maven2/"
  48. mavenRepo "http://repo.spring.io/milestone/"
  49. mavenRepo "https://oss.sonatype.org/content/repositories/snapshots/"
  50. }
  51.  
  52. dependencies {
  53. // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  54. // runtime 'mysql:mysql-connector-java:5.1.29'
  55. // runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'
  56.  
  57. compile "org.springframework:spring-orm:$springVersion"
  58.  
  59. compile 'commons-io:commons-io:2.4'
  60. compile 'org.apache.commons:commons-lang3:3.1'
  61. // compile 'org.yaml:snakeyaml:1.9'
  62. compile 'org.freemarker:freemarker:2.3.20'
  63. compile 'org.apache.commons:commons-imaging:1.0-SNAPSHOT'
  64. compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.5.2'
  65. }
  66.  
  67. plugins {
  68. // plugins for the build system only
  69. build ":tomcat:7.0.53"
  70.  
  71. // plugins for the compile step
  72. compile ":scaffolding:2.1.0"
  73. compile ':cache:1.1.6'
  74. compile ":asset-pipeline:1.8.7"
  75.  
  76. // plugins needed at runtime but not for compilation
  77. runtime ":hibernate4:4.3.5.3" // or ":hibernate:3.6.10.15"
  78. runtime ":database-migration:1.4.0"
  79. runtime ":jquery:1.11.1"
  80.  
  81. // Uncomment these to enable additional asset-pipeline capabilities
  82. compile ":sass-asset-pipeline:1.7.4"
  83. compile ":less-asset-pipeline:1.7.0"
  84. compile ":coffee-asset-pipeline:1.7.0"
  85. //compile ":handlebars-asset-pipeline:1.3.0.3"
  86.  
  87. compile ":quartz2:2.1.6.2"
  88.  
  89. compile ":spring-security-shiro:1.0-RC1"
  90. compile ":spring-security-core:2.0-RC3"
  91.  
  92. compile ":events-push:1.0.M7"
  93.  
  94. // compile ":platform-core:1.0.0"
  95. // compile ":platform-ui:1.0.RC7"
  96. // compile ":bootstrap-ui:1.0.RC4"
  97. }
  98. }
Advertisement
Add Comment
Please, Sign In to add comment