> Ok, I tried putting a groovy file in buildSrc (look at the link to see
> my layout).
"buildSrc" contains a complete Java or Groovy project. So a simple set up
(without an explicit build file) would look like:
buildSrc
|
+--src
|
+--main
| +--groovy
| | |
| | +--Config.groovy
| |
| +--java
|
+--test
Of course, you'd probably want to put Config.groovy into a package.
You can also add a build.gradle file to buildSrc if you want to customise
the build, for example by having a different source file layout.
Cheers,
Peter