chore(hw-03): initialize gradle java project with design patterns structure

This commit is contained in:
user
2026-08-07 16:16:06 +04:00
parent de76169f44
commit 2a5d70a1b2
32 changed files with 629 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details on building Java & JVM projects, please refer to https://docs.gradle.org/9.6.1/userguide/building_java_projects.html in the Gradle documentation.
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
application
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// This dependency is used by the application.
implementation(libs.guava)
}
testing {
suites {
// Configure the built-in test suite
val test = named<JvmTestSuite>("test") {
// Use JUnit Jupiter test framework
useJUnitJupiter("6.0.1")
}
}
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
application {
// Define the main class for the application.
mainClass = "org.example.App"
}