Skip to content

Instantly share code, notes, and snippets.

@pledbrook
Forked from aalmiray/gist:3938345
Created October 23, 2012 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pledbrook/3938392 to your computer and use it in GitHub Desktop.
Save pledbrook/3938392 to your computer and use it in GitHub Desktop.
// Grails 2.0.4
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// uncomment 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
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
grailsRepo("http://svn.codehaus.org/grails-plugins", "grailsCore2")
mavenCentral()
}
dependencies {
compile 'org.apache.mina:mina-core:2.0.4',
'org.apache.sshd:sshd-core:0.6.0',
'org.apache.sshd:sshd-pam:0.6.0'
compile('org.codehaus.griffon:griffon-rt:0.9.5-rc2',
'org.codehaus.griffon:griffon-cli:0.9.5-rc2') {
transitive = false
}
runtime 'postgresql:postgresql:9.0-801.jdbc4'
}
plugins {
test ":code-coverage:1.2.5",
":spock:0.6"
compile ":hibernate:$grailsVersion",
":jquery:1.7.1",
":resources:1.1.6",
":avatar:0.5.2",
":commentable:0.8.1",
":email-confirmation:1.0.5",
":executor:0.3",
":jcaptcha:1.2.1",
":mail:1.0",
":markdown:1.0.0.RC1",
":quartz:0.4.2",
":rateable:0.7.1",
":taggable:1.0.1",
":twitter-bootstrap:1.4.0.12",
":twitter4j:0.2",
":webxml:1.4.1",
":yui:2.8.2.1",
":yui-minify-resources:0.1.5",
":zipped-resources:1.0",
":cached-resources:1.0",
":cache-headers:1.1.5", {
excludes "svn"
}
build ":tomcat:$grailsVersion",
":svn:1.0.2"
}
}
@pledbrook
Copy link
Author

BTW, the reason you get the "upgrade plugin" message (if you're interested) is that the two versions of svn are in different scopes (build and compile). That means neither evicts the other. But Grails sees both versions when it loads the plugins, so it gets confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment