| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- plugins {
- id 'org.springframework.boot' version '3.3.2'
- id 'io.spring.dependency-management' version '1.1.5'
- id 'java'
- }
- group = 'com.tsystems.inwo'
- version = '1.0.0'
- description = 'INWO VGL Service'
- java {
- toolchain {
- languageVersion = JavaLanguageVersion.of(21)
- }
- }
- repositories {
- mavenCentral()
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-web'
- implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
- implementation 'com.fasterxml.jackson.core:jackson-databind'
- implementation 'com.networknt:json-schema-validator:1.4.2'
- implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
- testImplementation 'org.springframework.boot:spring-boot-starter-test'
- }
- test {
- useJUnitPlatform()
- }
- // Konfiguration für ausführbare JAR
- bootJar {
- enabled = true
- archiveFileName = 'inwo-vgl-service.jar'
- mainClass = 'com.tsystems.inwo.vgl.InwoVglServiceApplication'
- }
- // Deaktiviere die normale JAR Task, da wir nur die Boot JAR benötigen
- jar {
- enabled = false
- }
- // Task zum Erstellen der ausführbaren JAR
- task buildExecutableJar {
- dependsOn bootJar
- description = 'Erstellt eine ausführbare JAR-Datei'
- group = 'build'
- }
|