Is there a reasonable way to be able to define once what the version number
is for a dependency used for both the build script and "normal"
dependencies?  For example,

grailsVersion = '3.1.6'
apply plugin: 'grails'
buildscript {
    dependencies {
        classpath "org.grails:grails-bootstrap:${grailsVersion}"
    }
}
dependencies {
    compile "org.grails:grails-crud:${grailsVersion}"
}

fails. No combination of "def" or "project." in front of "grailsVersion"
helps.

Reply via email to