Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 512 Bytes

installation.md

File metadata and controls

26 lines (20 loc) · 512 Bytes

Installation

Installing the node-related plugins can be done in multiple ways. The easiest is to use the plugins-closure in your build.gradle file:

plugins {
  id "com.github.node-gradle.node" version "7.0.2"
}

You can also install the plugins by using the traditional Gradle way:

buildscript {
  repositories {
    gradlePluginPortal()
  }

  dependencies {
    classpath "com.github.node-gradle:gradle-node-plugin:7.0.2"
  }
}

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