Files
Git-Craft/app/build.gradle.kts
Muhammad Tamir d2689db3a2 Initial Commit
2025-06-19 18:18:52 +07:00

46 lines
1.3 KiB
Plaintext

/*
* 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/8.12/userguide/building_java_projects.html in the Gradle documentation.
*/
plugins {
// Apply the groovy plugin to also add support for Groovy (needed for Spock)
groovy
// Apply the application plugin to add support for building a CLI application in Java.
application
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use the latest Groovy version for Spock testing
testImplementation(libs.groovy)
// Use the awesome Spock testing and specification framework even with Java
testImplementation(libs.spock.core)
testImplementation(libs.junit)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
// This dependency is used by the application.
implementation(libs.guava)
}
// 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.yuemi.App"
}