Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
196 lines (160 sloc) 7.36 KB
grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.work.dir = "target/work"
grails.project.target.level = 1.8
grails.project.source.level = 1.8
//grails.project.war.file = "target/${appName}-${appVersion}.war"
def gebVersion = '1.0'
def seleniumVersion = "2.51.0"
//forkConfig = [maxMemory: 2048, minMemory: 64, debug: false, maxPerm: 1024]
grails.project.fork = [
// configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
// compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
test : false,
//run : false,
// configure settings for the test-app JVM, uses the daemon by default
//test: [maxMemory: 2048, minMemory: 64, debug: false, maxPerm: 1024, daemon:true],
// configure settings for the run-app JVM
run : [maxMemory: 2048, minMemory: 64, debug: false, maxPerm: 1024, forkReserve: false],
// configure settings for the run-war JVM
war : [maxMemory: 2048, minMemory: 64, debug: false, maxPerm: 1024, forkReserve: false],
// configure settings for the Console UI JVM
console: [maxMemory: 2048, minMemory: 64, debug: false, maxPerm: 1024]
]
if (System.getProperty("grails.debug")) {
//grails.project.fork.war += [debug: true]
grails.project.fork.run = false
println "Using debug for run"
}
grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// specify dependency exclusions here; for example, uncomment this to disable ehcache:
// excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // whether to verify checksums on resolve
legacyResolve false
// whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
repositories {
grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
mavenRepo "http://repo.grails.org/grails/core"
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
//mavenRepo "http://maven.crbs.ucsd.edu/nexus/content/repositories/NIF-snapshot/"
//mavenRepo "http://www.biojava.org/download/maven/"
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
runtime 'mysql:mysql-connector-java:5.1.29'
runtime 'org.postgresql:postgresql:9.4.1212'
compile 'commons-codec:commons-codec:1.2'
compile 'commons-collections:commons-collections:3.2.1'
// HTSJDK
compile group: 'com.github.samtools', name: 'htsjdk', version: '2.18.2'
// svg generation
compile group: 'org.apache.xmlgraphics', name: 'batik-svg-dom', version: '1.9'
compile group: 'org.apache.xmlgraphics', name: 'batik-svggen', version: '1.7'
compile group: 'org.apache.commons', name: 'commons-compress', version: '1.18'
compile 'org.json:json:20140107'
compile 'org.hibernate:hibernate-tools:3.2.0.ga'
compile 'commons-beanutils:commons-beanutils:1.8.3'
compile group: 'org.codehaus.plexus', name: 'plexus-archiver', version: '4.1.0'
//compile 'asm:asm:3.1'
//compile 'edu.sdsc:scigraph-core:1.1-SNAPSHOT'
//compile 'org.biojava:biojava3-core:3.1.0'
test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"
runtime 'org.grails:grails-datastore-gorm:3.1.5.RELEASE'
// test "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion"
// test "org.seleniumhq.selenium:selenium-firefox-driver:$seleniumVersion"
// test "org.seleniumhq.selenium:selenium-htmlunit-driver:$seleniumVersion"
// test "org.seleniumhq.selenium:selenium-support:$seleniumVersion"
//
//// test "org.gebish:geb-spock:$gebVersion"
// test "org.gebish:geb-spock:$gebVersion"
//test "org.spockframework:spock-grails-support:0.7-groovy-2.0"
// for coveralls
build 'org.apache.httpcomponents:httpcore:4.3.2'
build 'org.apache.httpcomponents:httpclient:4.3.2'
build 'org.apache.httpcomponents:httpmime:4.3.3'
// compile "org.grails:quartz:1.0.2"
}
plugins {
// plugins for the build system only
// build ':tomcat:7.0.55.2'
build ':tomcat:8.0.33'
// build ':tomcat:9.0.0.M4.1'
// plugins for the compile step
compile ":rest-api-doc:0.6"
compile ":scaffolding:2.1.2"
compile ':cache:1.1.8'
compile ':cache-ehcache:1.0.5'
compile ':asset-pipeline:2.1.5'
compile ":spring-websocket:1.3.1"
compile(":shiro:1.2.1") {
excludes([name: 'quartz', group: 'org.opensymphony.quartz'])
}
compile ":audit-logging:1.0.3"
// Uncomment these to enable additional asset-pipeline capabilities
//compile ":sass-asset-pipeline:1.9.0"
//compile ":less-asset-pipeline:1.10.0"
//compile ":coffee-asset-pipeline:1.8.0"
//compile ":handlebars-asset-pipeline:1.3.0.3"
// plugins needed at runtime but not for compilation
runtime ':hibernate4:4.3.8.1' // or ':hibernate:3.6.10.19'
runtime ":database-migration:1.4.1"
runtime ":jquery-ui:1.10.4"
runtime ":jquery:1.11.1"
// https://github.com/groovydev/twitter-bootstrap-grails-plugin/blob/master/README.md
runtime ':twitter-bootstrap:3.3.5'
//compile ":angularjs:1.0.0"
//compile ":dojo:1.7.2.0"
//compile ":platform-core:1.0.0"
//runtime ":resources:1.2.13"
//build ":extended-dependency-manager:0.5.5"
//compile ":gwt:1.0" , {
// transitive=true
//}
compile ":yammer-metrics:3.0.1-2"
compile "org.grails.plugins:quartz2:2.1.6.2"
compile "org.grails.plugins:export:1.6"
//compile ":joda-time:1.4"
// TODO: re-add when ready to install functional tests
// test ":geb:$gebVersion"
// test "org.grails.plugins:geb:$gebVersion"
// test 'com.github.detro:phantomjsdriver:1.2.0'
// grails.plugin.location.'chado-grails' = "../chado-grails"
// grails.plugin.location.'test-plugin' = "../test-plugin"
// runtime ":chado:0.1"
// compile ":test-plugin:0.1"
// compile ":chado-plugin:0.1"
// remember to sync rest
runtime ":rest-client-builder:2.1.1"
// for coveralls: https://github.com/agorapulse/grails-coveralls
build(':coveralls:0.1.3', ':rest-client-builder:2.1.1') {
export = false
}
test(':code-coverage:2.0.3-3') {
export = false
}
}
}
//gwt.compile.args = {
// arg(value: '-strict')
// arg(value: '-XjsInteropMode')
// arg(value: 'JS')
//}
//
//gwt {
// version="2.7.0"
// gin.version = '2.1.2'
//}
You can’t perform that action at this time.