Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 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 // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
  34.  
  35. repositories {
  36. inherits true // Whether to inherit repository definitions from plugins
  37.  
  38. grailsPlugins()
  39. grailsHome()
  40. mavenLocal()
  41. grailsCentral()
  42. mavenCentral()
  43. // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
  44. //mavenRepo "http://repository.codehaus.org"
  45. //mavenRepo "http://download.java.net/maven/2/"
  46. //mavenRepo "http://repository.jboss.com/maven2/"
  47. mavenRepo "http://repo.grails.org/grails/core"
  48. }
  49.  
  50. dependencies {
  51. // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  52. // runtime 'mysql:mysql-connector-java:5.1.29'
  53. // runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'
  54. test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"
  55.  
  56. runtime 'org.postgresql:postgresql:9.3-1100-jdbc41'
  57. }
  58.  
  59. plugins {
  60. // plugins for the build system only
  61. build ":tomcat:7.0.55.3" // or ":tomcat:8.0.22"
  62.  
  63. // plugins for the compile step
  64. compile ":scaffolding:2.1.2"
  65. compile ':cache:1.1.8'
  66. // asset-pipeline 2.0+ requires Java 7, use version 1.9.x with Java 6
  67. compile ":asset-pipeline:2.5.7"
  68.  
  69. // plugins needed at runtime but not for compilation
  70. runtime ":hibernate4:4.3.10" // or ":hibernate:3.6.10.18"
  71. runtime ":database-migration:1.4.0"
  72. runtime ":jquery:1.11.1"
  73. runtime ":cors:1.3.0"
  74.  
  75. // Uncomment these to enable additional asset-pipeline capabilities
  76. //compile ":sass-asset-pipeline:1.9.0"
  77. //compile ":less-asset-pipeline:1.10.0"
  78. //compile ":coffee-asset-pipeline:1.8.0"
  79. //compile ":handlebars-asset-pipeline:1.3.0.3"
  80. }
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement