eInvoicing/e-invoice-domain/build.gradle.kts

62 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-11-13 18:58:06 +00:00
plugins {
kotlin("jvm")
}
kotlin {
jvmToolchain(11)
}
2024-11-22 00:36:15 +00:00
java {
withSourcesJar()
}
2024-11-13 18:58:06 +00:00
val kotlinCoroutinesVersion: String by project
2024-11-13 18:58:06 +00:00
val mustangVersion: String by project
val textInfoExtractor: String by project
val pdfboxTextExtractor: String by project
val angusMailVersion: String by project
2024-11-13 18:58:06 +00:00
val klfVersion: String by project
val assertKVersion: String by project
val xunitVersion: String by project
val logbackVersion: String by project
2024-11-13 18:58:06 +00:00
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion")
2024-11-13 18:58:06 +00:00
implementation("org.mustangproject:library:$mustangVersion")
implementation("org.mustangproject:validator:$mustangVersion")
2024-11-13 18:58:06 +00:00
// pdf invoice data extraction
api("net.dankito.text.extraction:text-info-extractor:$textInfoExtractor")
api("net.dankito.text.extraction:pdfbox-text-extractor:$pdfboxTextExtractor")
implementation("org.eclipse.angus:angus-mail:$angusMailVersion")
2024-11-13 18:58:06 +00:00
implementation("net.codinux.log:klf:$klfVersion")
testImplementation(kotlin("test"))
testImplementation("com.willowtreeapps.assertk:assertk:$assertKVersion")
testImplementation("org.xmlunit:xmlunit-core:$xunitVersion")
testImplementation("ch.qos.logback:logback-classic:$logbackVersion")
2024-11-13 18:58:06 +00:00
}
tasks.test {
useJUnitPlatform()
}
ext["customArtifactId"] = "e-invoice"
apply(from = "../gradle/scripts/publish-codinux-repo.gradle.kts")