[K/N] Turn back red code.

For some reason build is failing during publication
with the previous change. Will deal with it later.
This commit is contained in:
Sergey Bogolepov
2022-09-16 13:58:00 +03:00
committed by Space
parent 6de5671db8
commit a88ef04671
2 changed files with 5 additions and 7 deletions
@@ -30,13 +30,10 @@ application {
dependencies {
implementation(project(":kotlin-native:Interop:Indexer"))
implementation(project(":kotlin-native:utilities:basic-utils"))
implementation(project(":kotlin-native-shared"))
api(project(path = ":kotlin-native:endorsedLibraries:kotlinx.cli", configuration = "jvmRuntimeElements"))
api(project(":kotlin-stdlib"))
api(project(path = ":kotlin-compiler", configuration = "runtimeElements"))
// It is shadowed by kotlinx-metadata-klib, so to make IDE happy let's use it as compile-only.
compileOnly(project(":kotlinx-metadata"))
api(project(":kotlinx-metadata-klib"))
api(project(":native:kotlin-native-utils"))
implementation(project(":compiler:util"))
@@ -44,8 +41,6 @@ dependencies {
testImplementation(kotlin("test-junit"))
testImplementation(project(":kotlin-test:kotlin-test-junit"))
// It is shadowed by kotlinx-metadata-klib, so to make IDE happy let's use it as compile-only.
testCompileOnly(project(":kotlinx-metadata"))
}
tasks {
@@ -62,6 +57,10 @@ tasks {
sourceSets {
"main" {
kotlin.srcDir(project.kotlinNativeVersionSrc())
kotlin {
srcDir(project.kotlinNativeVersionSrc())
srcDir("../../shared/src/library/kotlin")
srcDir("../../shared/src/main/kotlin")
}
}
}
@@ -23,5 +23,4 @@ dependencies {
implementation project(':kotlin-native:Interop:StubGenerator')
implementation project(':kotlin-native:klib')
implementation project(":kotlin-native:utilities:basic-utils")
implementation project(":kotlin-native-shared")
}