| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- 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'
- 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'
- }
|