Forgus / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

spock.lag.Requires.class is missing from the spock-core-0.7-*.jar files #340

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? If possible, provide source code and
stack trace.
1.  putting import spock.lang.Requires in test code gives error that Groovy: 
unable to resolve spock.lang.Requires
2.look inside both spock-core-0.7-groovy-2.0.jar and 
spock-core-0.7-groovy-1.8.jar and the spock.lag.Requires.class file is missing
3.

What version of Spock and Groovy are you using?
Spock - 0.7
Groovy 2.0 and 1.8

Please provide any additional information below. You can also assign
labels.

Original issue reported on code.google.com by john.gol...@gmail.com on 14 Jan 2014 at 2:20

GoogleCodeExporter commented 8 years ago
@Requires was added after the 0.7 release, and can be found in the 1.0-SNAPSHOT 
release, which lives in the sonatype repo:

http://oss.sonatype.org/content/repositories/snapshots/

Original comment by David.W....@gmail.com on 17 Jan 2014 at 2:14

GoogleCodeExporter commented 8 years ago
Thank you.

It would be nice if this fact was mentioned in the documentation.

Original comment by john.gol...@gmail.com on 17 Jan 2014 at 4:57