Closed GoogleCodeExporter closed 8 years ago
Sounds like you haven't configured spock-grails correctly in
BuildConfig.groovy. See http://grails.org/plugin/spock for details.
Original comment by pnied...@gmail.com
on 29 Aug 2013 at 10:03
Original comment by pnied...@gmail.com
on 29 Aug 2013 at 10:04
My BuildConfig.groovy looks like this:
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
//mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
}
plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.8.0"
runtime ":resources:1.1.6"
// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0"
//runtime ":cached-resources:1.0"
//runtime ":yui-minify-resources:0.1.4"
build ":tomcat:$grailsVersion"
runtime ":database-migration:1.1"
compile ':cache:1.0.0'
// Custom
test ":spock:0.7"
compile ":spring-security-core:1.2.7.3"
compile ":mail:1.0"
compile ":jquery-ui:1.8.24"
compile ":famfamfam:1.0.1"
compile ":spring-security-ui:0.2"
compile ':webxml:1.4.1'
compile ":fixtures:1.1"
compile ":spring-security-acl:1.1.1"
compile ":spring-security-bcrypt:0.3"
compile ":spring-security-twitter:0.5.4"
//compile ":webflow:1.3.8"
compile ':twitter-bootstrap:2.2.1'
compile ":build-test-data:2.0.3"
test ":code-coverage:1.2.5"
compile "org.grails.plugins:functional-spock:0.6"
compile "org.grails.plugins:grails-melody:1.13"
}
Do I require anything else?
Original comment by rupendra...@optimusinfo.com
on 29 Aug 2013 at 10:16
Apparently one of your dependencies is pulling in Groovy 2.0.7, which you need
to prevent (Grails 2.1.x is based on Groovy 1.8). I can't tell you how this is
done in Grails; I recommend to check the Grails documentation.
Original comment by pnied...@gmail.com
on 29 Aug 2013 at 10:19
Original issue reported on code.google.com by
rupendra...@optimusinfo.com
on 29 Aug 2013 at 9:58