Guest User

Untitled

a guest
Mar 29th, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 2.33 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}-${appVersion}.war"
  8.  
  9. // uncomment (and adjust settings) to fork the JVM to isolate classpaths
  10. //grails.project.fork = [
  11. //   run: [maxMemory:1024, minMemory:64, debug:false, maxPerm:256]
  12. //]
  13.  
  14. grails.project.dependency.resolution = {
  15.     // inherit Grails' default dependencies
  16.     inherits("global") {
  17.         // specify dependency exclusions here; for example, uncomment this to disable ehcache:
  18.         // excludes 'ehcache'
  19.     }
  20.     log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  21.     checksums true // Whether to verify checksums on resolve
  22.     legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
  23.  
  24.     repositories {
  25.         inherits true // Whether to inherit repository definitions from plugins
  26.  
  27.         grailsPlugins()
  28.         grailsHome()
  29.         grailsCentral()
  30.  
  31.         mavenLocal()
  32.         mavenCentral()
  33.  
  34.         // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
  35.         //mavenRepo "http://snapshots.repository.codehaus.org"
  36.         //mavenRepo "http://repository.codehaus.org"
  37.         //mavenRepo "http://download.java.net/maven/2/"
  38.         //mavenRepo "http://repository.jboss.com/maven2/"
  39.     }
  40.  
  41.     dependencies {
  42.         // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
  43.  
  44.         // runtime 'mysql:mysql-connector-java:5.1.22'
  45.     }
  46.  
  47.     plugins {
  48.         runtime ":hibernate:$grailsVersion"
  49.         runtime ":jquery:1.8.3"
  50.         runtime ":resources:1.1.6"
  51.  
  52.         // Uncomment these (or add new ones) to enable additional resources capabilities
  53.         //runtime ":zipped-resources:1.0"
  54.         //runtime ":cached-resources:1.0"
  55.         //runtime ":yui-minify-resources:0.1.5"
  56.  
  57.         build ":tomcat:$grailsVersion"
  58.  
  59.         runtime ":database-migration:1.3.2"
  60.  
  61.         compile ':cache:1.0.1'
  62.     }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment