| plugins { |
| kotlin("jvm") |
| id("jps-compatible") |
| } |
| |
| description = "Printer for SIR" |
| |
| kotlin { |
| explicitApi() |
| } |
| |
| dependencies { |
| compileOnly(kotlinStdlib()) |
| |
| api(project(":native:swift:sir")) |
| api(project(":native:swift:sir-providers")) |
| |
| 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() |