|
| 1 | +grails.project.class.dir = "target/classes" |
| 2 | +grails.project.test.class.dir = "target/test-classes" |
| 3 | +grails.project.test.reports.dir = "target/test-reports" |
| 4 | + |
| 5 | +grails.project.fork = [ |
| 6 | +// configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required |
| 7 | +// compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true], |
| 8 | + |
| 9 | +// configure settings for the test-app JVM, uses the daemon by default |
| 10 | +test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true], |
| 11 | +// configure settings for the run-app JVM |
| 12 | +run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false], |
| 13 | +// configure settings for the run-war JVM |
| 14 | +war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false], |
| 15 | +// configure settings for the Console UI JVM |
| 16 | +console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256] |
| 17 | +] |
| 18 | + |
| 19 | +grails.project.dependency.resolver = "maven" // or ivy |
| 20 | +grails.project.dependency.resolution = { |
| 21 | + // inherit Grails' default dependencies |
| 22 | + inherits("global") { |
| 23 | + // uncomment to disable ehcache |
| 24 | + // excludes 'ehcache' |
| 25 | + } |
| 26 | + log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' |
| 27 | + repositories { |
| 28 | + grailsCentral() |
| 29 | + mavenLocal() |
| 30 | + mavenCentral() |
| 31 | + mavenRepo 'http://dl.bintray.com/karman/karman' |
| 32 | + // uncomment the below to enable remote dependency resolution |
| 33 | + // from public Maven repositories |
| 34 | + //mavenRepo "http://repository.codehaus.org" |
| 35 | + //mavenRepo "http://download.java.net/maven/2/" |
| 36 | + //mavenRepo "http://repository.jboss.com/maven2/" |
| 37 | + } |
| 38 | + dependencies { |
| 39 | + // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg. |
| 40 | + // runtime 'mysql:mysql-connector-java:5.1.27' |
| 41 | + } |
| 42 | + |
| 43 | + plugins { |
| 44 | + |
| 45 | + |
| 46 | + runtime ":karman:0.5.2" |
| 47 | + |
| 48 | + if(System.getProperty('plugin.mode') != 'local') { |
| 49 | + runtime(':hibernate:3.6.10.16') { |
| 50 | + export = false |
| 51 | + } |
| 52 | + build(":release:3.0.1", |
| 53 | + ":rest-client-builder:1.0.3") { |
| 54 | + export = false |
| 55 | + } |
| 56 | + } |
| 57 | + } |
| 58 | +} |
0 commit comments