Howdy,
as my plugin has been written in Java, I'm using the
org.gradle.api.tasks.ConventionValue interface for property mapping.
Now, this requires the import of a type that does not seem to be part of
the public API (org.gradle.api.internal.IConventionAware). Is this
intentional? Is there another supported way to achieve the same in pure
Java? Thanks.
jalopy.getConventionMapping()
.map("classpath", new ConventionValue()
{
public Object getValue(
Convention rConvention,
IConventionAware rTarget)
{
LOG.debug("Inject classpath property {}",
rSet.getCompileClasspath());
return rSet.getCompileClasspath();
}
});
Cheers,
Marco
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email