KT-65740 Create swift-export-embeddable module
This commit is contained in:
committed by
Space Team
parent
bd84f93333
commit
60071cbb54
@@ -0,0 +1,35 @@
|
||||
description = "Runner for Swift Export (for embedding purpose)"
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
dependencies {
|
||||
embedded(project(":native:swift:sir")) { isTransitive = false }
|
||||
embedded(project(":native:swift:sir-compiler-bridge")) { isTransitive = false }
|
||||
embedded(project(":native:swift:sir-passes")) { isTransitive = false }
|
||||
embedded(project(":native:swift:sir-printer")) { isTransitive = false }
|
||||
embedded(project(":native:swift:swift-export-standalone")) { isTransitive = false }
|
||||
|
||||
embedded(project(":analysis:analysis-api-standalone")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api-fir")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api-impl-base")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api-impl-barebone")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api-standalone:analysis-api-standalone-base")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-api-standalone:analysis-api-fir-standalone-base")) { isTransitive = false }
|
||||
embedded(project(":analysis:analysis-internal-utils")) { isTransitive = false }
|
||||
embedded(project(":analysis:low-level-api-fir")) { isTransitive = false }
|
||||
embedded(project(":analysis:symbol-light-classes")) { isTransitive = false }
|
||||
|
||||
compileOnly(kotlinStdlib())
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" {}
|
||||
"test" {}
|
||||
}
|
||||
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
sourcesJar { includeEmptyDirs = false; eachFile { exclude() } } // empty Jar, no public sources
|
||||
javadocJar { includeEmptyDirs = false; eachFile { exclude() } } // empty Jar, no public javadocs
|
||||
@@ -61,4 +61,4 @@ val KotlinBuildProperties.useFirTightIC: Boolean
|
||||
get() = getBoolean("kotlin.build.useFirIC")
|
||||
|
||||
val KotlinBuildProperties.isSwiftExportPluginPublishingEnabled: Boolean
|
||||
get() = getBoolean("kotlin-native.swift-export.enabled")
|
||||
get() = getBoolean("kotlin.native.swift-export.enabled", false)
|
||||
|
||||
@@ -433,6 +433,7 @@ include ":native:swift:sir",
|
||||
":native:swift:sir-printer",
|
||||
":native:swift:sir-compiler-bridge",
|
||||
":native:swift:swift-export-standalone",
|
||||
":native:swift:swift-export-embeddable",
|
||||
":generators:sir-tests-generator"
|
||||
|
||||
void intellij(String imlPath) {
|
||||
|
||||
Reference in New Issue
Block a user