Skip to content

Anzar05/CodeAlpha_Java_Gradle_App

Repository files navigation

Java Application using Gradle

CodeAlpha DevOps Internship – Task 2

This project demonstrates how to build and run a simple Java application using the Gradle build automation tool. The project was completed as part of the CodeAlpha DevOps Internship program.


Project Objective

The objective of this project is to understand how Gradle works for building Java applications and automating the build process.

Main goals:

  • Learn Gradle project structure
  • Build a Java application using Gradle
  • Run the application using Gradle commands
  • Understand build automation

Technologies Used

Java (OpenJDK)
Gradle
Command Prompt (CMD)
Git & GitHub


Project Structure

Java-Gradle-App │ ├── app │ └── src │ └── main │ └── java │ └── App.java │ ├── gradle ├── gradlew ├── gradlew.bat ├── settings.gradle └── build.gradle


Java Program

public class App {

public static void main(String[] args) {

    System.out.println("Hello from CodeAlpha DevOps Internship!");

}

}


How to Run the Project

Step 1: Navigate to the project folder

cd A:\Java-Gradle-App

Step 2: Build the project

gradlew build

Step 3: Run the application

gradlew run


Output

Hello from CodeAlpha DevOps Internship!


Key Learnings

  • Introduction to Gradle build automation
  • Creating and managing Java projects
  • Running applications using Gradle
  • Understanding Gradle project structure

Internship Information

Internship Provider: CodeAlpha
Domain: DevOps
Task: Java Application using Gradle


Author

Shaik Mahamood Anzar

DevOps Intern – CodeAlpha

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors