I want to write a gradle task that executes a particular process. This process needs to be built by gradle though.
Looking here: http://gradle.org/0.8/docs/userguide/organizing_build_logic.html I see this: "If you run Gradle, it checks for the existence of a folder called buildSrc. Just put your build source code in this folder and stick to the layout convention for a Java/Groovy project (see Table 18.4, “Java plugin - default project layout”). Gradle then automatically compiles and tests this code and puts it in the classpath of your build script." This is good, but I need to use source code that is not stored under buildSrc and has dependencies. The docs continue: "If you need more flexibility, you can provide a build.gradle and a settings.gradle file in the buildSrc folder" Could someone give me a little help here? 1) what is the relationship between buildSrc/build.gradle and the root build.gradle (do they share gradle properties or classpath or anything)? 2) could someone give me an example of a buildSrc/build.gradle that points to src and jars outside the default dir structure (like ../../java/src) + (../../java/lib) thanks! 1) create another buildPushTools.gradle file and run this first 2) use buildSrc somehow: http://gradle.org/0.8/docs/userguide/organizing_build_logic.html The problem is I can't move the code to ./buildSrc. Can I override this? 3) --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
