Fix wrong commits picked for master: restore changes from KOTLIN-CR-2817

This commit is contained in:
Sergey Igushkin
2019-02-27 20:44:19 +03:00
parent ec3e5c6959
commit 70db646576
8 changed files with 18 additions and 16 deletions
@@ -360,7 +360,7 @@ class Kotlin2JsGradlePluginIT : BaseGradleIT() {
assertSuccessful()
assertTasksExecuted(
":compileKotlin", ":compileTestKotlin", ":compileBenchmarkKotlin",
":compileKotlinJs", ":compileTestKotlinJs", ":compileBenchmarkKotlinJs",
":runDceKotlin", ":runDceBenchmarkKotlin"
)
@@ -13,13 +13,13 @@ repositories {
}
kotlin.sourceSets {
main {
getByName("main") {
dependencies {
api("org.jetbrains.kotlinx:kotlinx-html-js:0.6.10")
implementation(kotlin("stdlib-js"))
}
}
test {
getByName("test") {
dependencies {
implementation(kotlin("test-js"))
}
@@ -37,7 +37,7 @@ kotlin.target.compilations.create("benchmark") {
publishing {
publications {
create("default", MavenPublication::class.java) {
from(kotlin.target.components.single())
from(components.getByName("kotlin"))
artifact(tasks.getByName("kotlinSourcesJar"))
}
}
@@ -50,7 +50,7 @@ val runBenchmark by tasks.registering(JavaExec::class) {
publishing {
publications {
create("default", MavenPublication::class) {
from(kotlin.target.components.single())
from(components.getByName("kotlin"))
artifact(tasks.getByName("kotlinSourcesJar"))
}
}