Skip to content

Commit

Permalink
Updated gradle-node-plugin to be compatible with Gradle 7 (#316)
Browse files Browse the repository at this point in the history
There was a breaking change introduced in Gradle 6.8, that caused atomicfu:nodeSetup task to fail with unresolved layout() method.
This commit replaces `com.moowork.gradle:gradle-node-plugin` with `com.github.node-gradle:gradle-node-plugin`
  • Loading branch information
mvicsokolova authored Jun 23, 2023
1 parent 7ff4e2f commit f8a2a75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.moowork.gradle:gradle-node-plugin:$gradle_node_version"
classpath "com.github.node-gradle:gradle-node-plugin:$gradle_node_version"
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlinx_metadata_version=0.6.0

maven_version=3.5.3

gradle_node_version=1.2.0
gradle_node_version=3.1.1
node_version=8.11.1
npm_version=5.7.1
mocha_version=4.1.0
Expand Down
3 changes: 2 additions & 1 deletion gradle/node-js.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

apply plugin: 'com.moowork.node'
apply plugin: 'com.github.node-gradle.node'


node {
version = "$node_version"
Expand Down

0 comments on commit f8a2a75

Please sign in to comment.