From the course: Gradle for Java-Based Applications and Libraries
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Anatomy of a simple Java project
From the course: Gradle for Java-Based Applications and Libraries
Anatomy of a simple Java project
- [Instructor] In this course, I will not ask you to write Java code from scratch. We'll be working on existing source code so that we can fully concentrate on the aspect of implementing the automation tasks for it. Let's examine the structure in the Java files contained in the example of project. The directory named source main Java contains the Java source files. You might already be familiar with this convention. It's commonly used as the root source folder by build tools like Maven and Gradle. The directory named source main resources contains resource files read by the Java source code at runtime. Typical examples include property files or XML files to configure the runtime behavior of the project. In this project, the directory's empty. In the Java source code folder, you will find two Java source files. The file, Calculator, with the package, com.linkedinlearning.calculator provides some methods typical to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Anatomy of a simple Java project2m 34s
-
(Locked)
Applying the Java plugin2m 37s
-
(Locked)
Compiling Java source code2m 49s
-
(Locked)
Packaging a JAR file2m 51s
-
(Locked)
Exploring the Java Application plugin3m 10s
-
(Locked)
Challenge: Generating Javadocs for a Java project1m 42s
-
(Locked)
Solution: Generating Javadocs for a Java project5m 25s
-
(Locked)
-
-
-