Re: [gradle-user] Re: User guide, Example 20.11. Creating a manifest object doesn't work

2011-02-10 Thread Bronislav Gabrhelik
Peter, you are right. It works fine with the Java plugin. Now I understand that the JavaPluginConvention.manifest method is called in the case the "manifest {}" construct is used in the root of the gradle script (I mean outside of the Jar task). Thanks for your help, Bronislav Gabrhelik 2011/2/

[gradle-user] Re: User guide, Example 20.11. Creating a manifest object doesn't work

2011-02-09 Thread Peter Niederwieser
All code examples in the user guide are automatically tested as part of the Gradle build, so this should work. Have you (implicitly or explicitly) applied the "java-base" or "java" plugin to the root project? Otherwise, project.manifest {} won't work (only jar.manifest {}). Maybe the documentation