118 lines
4.2 KiB
Text
118 lines
4.2 KiB
Text
|
|
plugins {
|
||
|
|
id("java")
|
||
|
|
kotlin("jvm") version "2.2.20"
|
||
|
|
id("com.google.devtools.ksp") version "2.2.20-2.0.2"
|
||
|
|
|
||
|
|
kotlin("plugin.spring") version "2.2.20"
|
||
|
|
id("org.springframework.boot") version "3.5.6"
|
||
|
|
id("io.spring.dependency-management") version "1.1.7"
|
||
|
|
}
|
||
|
|
|
||
|
|
group = "de.notizwerk"
|
||
|
|
version = "1.0-SNAPSHOT"
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
google()
|
||
|
|
maven {
|
||
|
|
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
|
||
|
|
mavenContent {
|
||
|
|
snapshotsOnly()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
maven {
|
||
|
|
url = uri("https://maven.repository.redhat.com/earlyaccess/all")
|
||
|
|
mavenContent {
|
||
|
|
snapshotsOnly()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
//val vertxVersion = "5.0.0"
|
||
|
|
val log4j2Version = "2.24.3"
|
||
|
|
val autoDslVersion = "2.4.0"
|
||
|
|
|
||
|
|
java {
|
||
|
|
toolchain {
|
||
|
|
languageVersion.set(JavaLanguageVersion.of(24))
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlin {
|
||
|
|
jvmToolchain(24)
|
||
|
|
compilerOptions {
|
||
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
// Kotlin
|
||
|
|
implementation(kotlin("stdlib"))
|
||
|
|
|
||
|
|
// Spring Boot
|
||
|
|
// implementation("org.springframework.boot:spring-boot-starter-web")
|
||
|
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
|
||
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
||
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||
|
|
implementation("org.apache.httpcomponents.client5:httpclient5")
|
||
|
|
|
||
|
|
implementation("com.faendir.kotlin.autodsl:annotations:$autoDslVersion")
|
||
|
|
ksp("com.faendir.kotlin.autodsl:processor:$autoDslVersion")
|
||
|
|
|
||
|
|
// implementation(platform("io.vertx:vertx-stack-depchain:$vertxVersion"))
|
||
|
|
// implementation("io.vertx:vertx-launcher-application")
|
||
|
|
// implementation("io.vertx:vertx-json-schema")
|
||
|
|
|
||
|
|
// Jackson
|
||
|
|
// implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}")
|
||
|
|
// implementation("com.fasterxml.jackson.module:jackson-module-parameter-names:${jacksonVersion}")
|
||
|
|
// implementation("com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}")
|
||
|
|
// implementation("com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion}")
|
||
|
|
implementation("com.fasterxml.jackson.core:jackson-annotations")
|
||
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
||
|
|
|
||
|
|
// log4j
|
||
|
|
implementation("io.github.oshai:kotlin-logging-jvm:7.0.13")
|
||
|
|
|
||
|
|
// implementation(platform("org.apache.logging.log4j:log4j-bom:$log4j2Version"))
|
||
|
|
// implementation("org.apache.logging.log4j:log4j-api")
|
||
|
|
// runtimeOnly("org.apache.logging.log4j:log4j-core")
|
||
|
|
// runtimeOnly("org.apache.logging.log4j:log4j-slf4j2-impl")
|
||
|
|
// runtimeOnly("org.slf4j:slf4j-api:2.0.12")
|
||
|
|
// runtimeOnly("org.apache.logging.log4j:log4j-jul")
|
||
|
|
// runtimeOnly("org.apache.logging.log4j:log4j-layout-template-json")
|
||
|
|
|
||
|
|
annotationProcessor("io.soabase.record-builder:record-builder-processor:44")
|
||
|
|
compileOnly("io.soabase.record-builder:record-builder-core:44")
|
||
|
|
|
||
|
|
implementation("org.apache.poi:poi-ooxml:5.4.1")
|
||
|
|
implementation("org.apache.commons:commons-csv:1.14.1")
|
||
|
|
implementation("org.redundent:kotlin-xml-builder:1.9.3")
|
||
|
|
|
||
|
|
// implementation(platform("org.smooks:smooks-bom:2.3.0-SNAPSHOT"))
|
||
|
|
// implementation("org.smooks:smooks-core")
|
||
|
|
// implementation("org.smooks.cartridges:smooks-javabean-cartridge")
|
||
|
|
//// implementation("org.smooks.cartridges.edi:smooks-edi-cartridge")
|
||
|
|
// implementation("org.smooks.cartridges.edi:smooks-edifact-cartridge")
|
||
|
|
// implementation("org.smooks.cartridges.edi:edifact-schemas:2.1.0:d96a")
|
||
|
|
//// implementation("org.smooks.cartridges.edi:edifact-schemas:2.1.0:d03b")
|
||
|
|
// implementation("org.smooks.cartridges.edi:d96a-edifact-binding:2.1.0")
|
||
|
|
//// implementation("org.smooks.cartridges.edi:d03b-edifact-binding:2.1.0")
|
||
|
|
// implementation("org.smooks.cartridges.edi:service-edifact-binding")
|
||
|
|
|
||
|
|
// Testing
|
||
|
|
|
||
|
|
testImplementation(kotlin("test"))
|
||
|
|
// testImplementation("io.vertx:vertx-junit5")
|
||
|
|
testImplementation("org.assertj:assertj-core:3.27.6")
|
||
|
|
testImplementation("org.xmlunit:xmlunit-assertj3:2.10.4")
|
||
|
|
testImplementation("org.mockito.kotlin:mockito-kotlin:6.1.0")
|
||
|
|
|
||
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||
|
|
testImplementation("org.springframework.security:spring-security-test")
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.test {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|