On Aug 8, 2008, at 9:11 AM, Adam Murdoch wrote:
Hans Dockter wrote:
Hi,
our public API interfaces like Project are used by two different
groups. One group are the Gradle users when writing there build
script as well as our plugins. The other group are internal
classes like BuildConfigurer. Some of the API is only used by the
latter (e.g. the evaluate method of the Project interface). So I
think it would be a good idea to add an interface like
ProjectInternal, which extends Project, for this part of the API.
I was thinking the same thing as I was writing javadocs (the
methods on Project without javadoc are pretty much the ones I
reckon belong elsewhere).
I have added some more javadoc to the project interface. Those two
methods definitely belong elsewhere:
Project evaluate();
BuildScriptProcessor getBuildScriptProcessor();
All the other ones I think should be offered to the build script.
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email