5ddd253091
In some cases we can't use embedded artifact, and need to rely on un-shadowed paths. ^KT-66702 fixed
37 lines
643 B
Kotlin
37 lines
643 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
description = "Infrastructure of transformations over SIR"
|
|
|
|
kotlin {
|
|
explicitApi()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(kotlinStdlib())
|
|
|
|
api(project(":native:swift:sir"))
|
|
|
|
api(project(":compiler:psi"))
|
|
api(project(":analysis:analysis-api"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
}
|
|
|
|
tasks.withType<KotlinJvmCompile> {
|
|
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
|
|
}
|
|
|
|
if (kotlinBuildProperties.isSwiftExportPluginPublishingEnabled) {
|
|
publish()
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar() |