5ddd253091
In some cases we can't use embedded artifact, and need to rely on un-shadowed paths. ^KT-66702 fixed
47 lines
886 B
Kotlin
47 lines
886 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
description = "Printer for SIR"
|
|
|
|
kotlin {
|
|
explicitApi()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(kotlinStdlib())
|
|
|
|
api(project(":native:swift:sir"))
|
|
|
|
implementation(project(":core:util.runtime"))
|
|
|
|
testApi(platform(libs.junit.bom))
|
|
testRuntimeOnly(libs.junit.jupiter.engine)
|
|
testImplementation(libs.junit.jupiter.api)
|
|
|
|
testImplementation(projectTests(":compiler:tests-common"))
|
|
testImplementation(projectTests(":compiler:tests-common-new"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
val testDataDir = projectDir.resolve("testData")
|
|
|
|
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
|
inputs.dir(testDataDir)
|
|
useJUnitPlatform { }
|
|
}
|
|
|
|
testsJar()
|
|
|
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
|
publish()
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar() |