34 lines
687 B
Groovy
34 lines
687 B
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
*/
|
|
|
|
plugins {
|
|
// Apply the application plugin to add support for building a CLI application in Java.
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
// Apply a specific Java toolchain to ease working on different environments.
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'edu.inventorym.Api'
|
|
}
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'jakarta.json.bind:jakarta.json.bind-api:3.0.1'
|
|
implementation project(':Model')
|
|
}
|
|
|