A simple Java application that displays "Hello, World!" in the console.
This is a basic Java project built using Gradle. It serves as a template or starting point for Java development.
- Java Development Kit (JDK) 8 or higher
- Gradle (or use the included Gradle wrapper)
Clone the repository and navigate to the project directory:
git clone [repository-url]
cd [project-directory]Build the project using the Gradle wrapper:
./gradlew buildFor Windows:
gradlew.bat buildTo run the application, first build the project and then run the compiled Java class:
# Build the project
./gradlew build
# Run the application
java -cp build/classes/java/main org.example.MainFor Windows:
# Build the project
gradlew.bat build
# Run the application
java -cp build\classes\java\main org.example.MainThe project is configured to test using JUnit 5. Run the tests with the following command:
./gradlew test.
├── build.gradle.kts # Gradle build configuration
├── settings.gradle.kts # Gradle settings
├── src
│ └── main
│ └── java
│ └── org
│ └── example
│ └── Main.java # Application main class
└── README.md # This file
- JUnit 5 (for testing)
[Insert license here]