Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (38 loc) · 932 Bytes

installation.md

File metadata and controls

50 lines (38 loc) · 932 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 "2.2.4"
}

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

buildscript {
  repositories {
    maven {
      gradlePluginPortal()
    } 
  }

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

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

Installing snapshots

If you want to install snapshot versions of this plugin, you can add the OJO repository to your build:

buildscript {
  repositories {
    maven {
      url "http://oss.jfrog.org"
    } 
  }

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

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