fints4k/tools/EpcQrCodeParser/build.gradle

88 lines
1.7 KiB
Groovy

plugins {
id 'org.jetbrains.kotlin.multiplatform'
id "maven-publish"
}
ext.artifactName = "epc-qr-code-parser"
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = '1.8'
}
withJava()
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
// js(BOTH) {
// browser {
// commonWebpackConfig {
// cssSupport.enabled = true
// }
// }
// }
ios {
binaries {
framework {
baseName = "EpcQrCodeParser"
}
}
}
// def hostOs = System.getProperty("os.name")
// def isMingwX64 = hostOs.startsWith("Windows")
// def nativeTarget
// if (hostOs == "Mac OS X") nativeTarget = macosX64('native') { binaries.executable() }
// else if (hostOs == "Linux") nativeTarget = linuxX64("native") { binaries.executable() }
// else if (isMingwX64) nativeTarget = mingwX64("native") { binaries.executable() }
// else throw new GradleException("Host OS is not supported in Kotlin/Native.")
sourceSets {
commonMain {
dependencies {
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmMain {
dependencies {
}
}
jvmTest {
dependencies {
}
}
jsMain {
dependencies {
}
}
jsTest {
dependencies {
}
}
iosMain {
}
iosTest {
}
}
}