Advertisement
Guest User

Untitled

a guest
Nov 7th, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.         'grails-plugin-gsp'; 'grails-plugin-rest'; 'grails-resources'
  31.  
  32.     }
  33.     log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  34.     checksums true // Whether to verify checksums on resolve
  35.     legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
  36.  
  37.     repositories {
  38.         inherits true // Whether to inherit repository definitions from plugins
  39.  
  40.         grailsPlugins()
  41.         grailsHome()
  42.         mavenLocal()
  43.         grailsCentral()
  44.         mavenCentral()
  45.         // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
  46.         //mavenRepo "http://repository.codehaus.org"
  47.         //mavenRepo "http://download.java.net/maven/2/"
  48.         //mavenRepo "http://repository.jboss.com/maven2/"
  49.     }
  50.  
  51.     dependencies {
  52.         // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  53.         // runtime 'mysql:mysql-connector-java:5.1.29'
  54.         // runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'
  55.         test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"
  56.     }
  57.  
  58.     plugins {
  59.         // plugins for the build system only
  60.         build ":tomcat:7.0.55"
  61.         compile ":vaadin:7.2.5"
  62.  
  63.         // Uncomment these to enable additional asset-pipeline capabilities
  64.         //compile ":sass-asset-pipeline:1.9.0"
  65.         //compile ":less-asset-pipeline:1.10.0"
  66.         //compile ":coffee-asset-pipeline:1.8.0"
  67.         //compile ":handlebars-asset-pipeline:1.3.0.3"
  68.     }
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement