40 lines
667 B
Groovy
40 lines
667 B
Groovy
|
|
/*
|
||
|
|
* This file was generated by the Gradle 'init' task.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
plugins {
|
||
|
|
|
||
|
|
id 'java-library'
|
||
|
|
id 'application'
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
// Apply a specific Java toolchain to ease working on different environments.
|
||
|
|
java {
|
||
|
|
toolchain {
|
||
|
|
languageVersion = JavaLanguageVersion.of(25)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
group = 'edu.inventorym'
|
||
|
|
version = '1.0.0'
|
||
|
|
|
||
|
|
application {
|
||
|
|
// Define the main class for the application.
|
||
|
|
mainClass = 'edu.inventorym.TransactionManager'
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
// Use Maven Central for resolving dependencies.
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation 'jakarta.json.bind:jakarta.json.bind-api:3.0.1'
|
||
|
|
implementation 'org.eclipse:yasson:3.0.4'
|
||
|
|
|
||
|
|
}
|
||
|
|
|