Skip to content

Commit

Permalink
Remove nodeVersion override (#4343)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 16, 2022
1 parent e1bb845 commit b4222c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions build-logic/src/main/kotlin/Node.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.plugin.getKotlinPluginVersion
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension

Expand All @@ -25,9 +23,4 @@ fun Project.configureNode() {
lockFileDirectory = projectDir.resolve("kotlin-js-store-${project.getKotlinPluginVersion().substringBeforeLast(".")}")
}
}

// See https://youtrack.jetbrains.com/issue/KT-49109#focus=Comments-27-5259190.0-0
rootProject.plugins.withType(NodeJsRootPlugin::class.java) {
project.extensions.getByType(NodeJsRootExtension::class.java).nodeVersion = "16.10.0"
}
}
1 change: 0 additions & 1 deletion tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ repositories {
mavenCentral()
}

// See https://youtrack.jetbrains.com/issue/KT-49109#focus=Comments-27-5259190.0-0
rootProject.configureNode()

tasks.register("ciBuild") {
Expand Down

0 comments on commit b4222c0

Please sign in to comment.