The Java plugin, mainly used in build environments like Gradle, provides you with a comprehensive set of tools to efficiently manage your Java applications. Here are the three main features you will find particularly useful.
The Java plugin automates the compilation of your source files, both for main code and tests. It clearly separates production and test sources, making it easier to manage and convert your code into executable bytecode.
It automatically runs your unit tests using frameworks like JUnit via the `test` task. This feature helps you ensure the quality of your code before moving on to further development steps.
The plugin creates JAR files that package your classes and resources, ready for deployment. It also allows you to generate API documentation with `javadoc` to keep your project well-structured and professional.
Note : Java is no longer used on websites since the arrival of HTML5.
Source : Moving to a Plugin-Free Web - Oracle.
Pinned content
InformatiWeb Pro
Contact
® InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.