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

Anatomy of a simple Java project

From the course: Gradle for Java-Based Applications and Libraries

Start my 1-month free trial

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…

Contents