Hi Rene,

> > * 2'nd dim: Project dependencies - I've seen the "dependencies" section
> > but ---> where can a find, which dependencies can be defined (I found
> > compile, testCompile in docu)?  - which dependency types exists at all?
> > ---> How are they linked up to configurations (are theyl)?
> 
> the available dependency configurations are depending on the type of
> project you're building. The java plugin for example adds some of them.
> see chapter "dependency management" at
> http://gradle.org/java_plugin.html for details. 

exactly what I was searching for - thanks :-)

> They are configurations.
> so if you want to introduce your own configuration you can do this by
> adding:
> 
> configurations{
>      myownconfig
> }

Sonds good - where can I find configurations (class?) in the gradle source (not 
found in org.gradle or org.gradle.api)? Or are configurations plain grovy 
closures?

> > ---> Lets assume, I want use sth. like maven scopes and want to have
> > 
> >     runtime dependencies (affects packing, testing, and transient
> >     dependecy
> > 
> > resolution) or
> > 
> >     aspectj dependencies (to control which aspects are woven), how can I
> > 
> > introduce such dependency types?
> 
> I wrote an aspectj plugin for gradle and an blog article about aspectj
> support with gradle. have a look at
> http://www.breskeby.com/2010/02/using-gradle-with-aspectj/ and
> http://www.breskeby.com/2010/03/speed-up-your-build-with-gradle/

I've allready seen this - thats on my "to read and use" list :-)

> > * 3'rd dim: (My so called) configurations - these configartions I use to
> > generate for example different .war files out of one project for
> > different servers. So this dimension affects only the
> > artefact-generation (assembly in gradels words).
> > ---> How can I map this concept to gradle?
> 
> you can add several tasks of type "War" to your build file to create
> multiple war files out of one project. have a look at the
> http://gradle.org/0.9/docs/dsl/org.gradle.api.tasks.bundling.War.html
> for details about the War task.

There is described, how to configure war generator in detail - but this means 
there is no dedicatet orthogonal concept for my kind of configurations build in 
in gradle?

If I want to realize my build task dependencies (as described in 
http://www.jerger.org/resources/bilder/BuildTaskDependencies.png), the right 
starting point is to write my own plugin - am I right?


best regards,
Michael

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to