Permalink
Browse files

Added properly dependencies, fixed bug in plugin when searching for

java/groovy files
  • Loading branch information...
1 parent e77023e commit 2a4c06cdd02e20817ff666d6c80ed88ec3d66bde @clarkdave committed Nov 3, 2011
View
@@ -1,4 +1,9 @@
self: play -> groovy 0.1
require:
- - play
+ - play
+ - org.codehaus.groovy -> groovy 1.8.3
+ - org.spockframework -> spock-core 0.5-groovy-1.8
+ - org.codehaus.geb -> geb-spock 0.6.1
+ - org.seleniumhq.selenium -> selenium-htmlunit-driver 2.11.0
+ - org.seleniumhq.selenium -> selenium-support 2.11.0
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -169,10 +169,10 @@ class GroovyPlugin extends PlayPlugin {
def getJavaOrGroovy(name) {
if (name.contains('$')) {
- name = name[0..name.indexOf('$')]
+ name = name.substring(0, name.indexOf('$'))
}
name = name.replace('.', '/')
-
+ println name
for (path in Play.javaPath) {
def file = path.child(name + '.groovy')
if (file.exists()) return file

0 comments on commit 2a4c06c

Please sign in to comment.