On Mon, Dec 22, 2008 at 4:12 PM, Hans Dockter <[email protected]> wrote: > Hi Jeff, > > thanks for giving Gradle a try. > > On Dec 22, 2008, at 10:43 PM, Jeff Brown wrote: > >> On Mon, Dec 22, 2008 at 1:17 PM, Jeff Brown <[email protected]> wrote: >>> >>> I have a couple of really basic questions. I have a project at >>> http://github.com/jeffbrown/groovy-measures that I am trying to >>> gradle-ize. I have found that I have to create the target directory >>> myself or compile fails. That doesn't sound right so I think I am >>> just doing something wrong. Also, I am not sure if I am using the >>> right approach for adding jscience to the classpath. > > I think the following would be a better approach: > > dependencies { > addFlatDirResolver('myLocalRepo', "$rootDir/lib", .... ) // You can add > an arbitrary number of physical directories here > addMavenRepo() > groovy "org.codehaus.groovy:groovy-all:1.6-beta-2", > ":jscience:someversion" > testCompile "junit:junit:3.8.2" > } >
Thanks for the info. I made the change to my build file and it works as you suggest. Thanks again! Jeff -- Jeff Brown SpringSource http://www.springsource.com/ Autism Strikes 1 in 166 Find The Cause ~ Find The Cure http://www.autismspeaks.org/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
