Curtis,
2009/3/15 Curtis Cooley <[email protected]>
> Is there quickstart documentation somewhere. I'm really struggling
> getting a butt simple project up and running with Gradle. All I want
> is to simply create a lib directory and manually manage dependencies
> for now. Is there documentation or a quickstart zip that gets one
> quickly to:
>
> * Java+Groovy compile
> * Junit testing
>
> This shouldn't be this hard.
for the simplest project that follows the conventions:
lib
src/main/groovy
src/main/resources
src/test/groovy
src/test/resources
you would put the following in your build.gradle file
usePlugin('groovy')
dependencies {
addFlatDirResolver('lib', new File(rootDir,'lib'))
// declare your dependencies here
}
thats it now you have your lib dir set as source of your dependencies and a
test task that executes junit tests.
>
>
> --
> Curtis Cooley
> [email protected]
> ===============
> Once a programmer had a problem. He thought he could solve it with a
> regular expression. Now he has two problems.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>