课程: Gradle for Java-Based Applications and Libraries

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Challenge: Generating Javadocs for a Java project

Challenge: Generating Javadocs for a Java project

(upbeat music) - [Instructor] This chapter covered the very basic automation operations necessary in the Java project. You learned about the Java and the application plugin to compile, package and run a Java program. It's time to explore other functionality provided by the Java plugin. For this challenge, I want you to generate the Java API documentation for the classes of the project. We haven't really talked about the task to achieve that very specific goal. Contact the griddle user guide, or explore the list of tasks to find out how to generate the Javadocs. After generating the Javadocs, find the files and open the index page of the documentation in the browser. You will find that the documentation page does not provide a title, inspect the DSL guide for the Javadoc task and set the title to calculator. After regenerating the Javadocs, the title should be rendered. By default the Javadoc task is not very Verde.…

内容