52 lines
1.3 KiB
Groovy
52 lines
1.3 KiB
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)
|
|
}
|
|
|
|
sourceCompatibility = JavaVersion.toVersion("25")
|
|
targetCompatibility = JavaVersion.toVersion("25")
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass = 'edu.inventorym.Ui'
|
|
}
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
configurations {
|
|
all {
|
|
exclude group: 'org.apache.tomcat.embed', module: 'tomcat-embed-jasper-el'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.17'
|
|
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.17'
|
|
|
|
implementation 'io.netty:netty-common:4.2.8.Final'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux:4.0.0'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webflux-api:3.0.0'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webflux-ui:3.0.0'
|
|
implementation 'jakarta.json.bind:jakarta.json.bind-api:3.0.1'
|
|
|
|
implementation project(':Model')
|
|
}
|
|
|