GithubHelp home page GithubHelp logo

isabella232 / gradle-node-envs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetbrains/gradle-node-envs

0.0 0.0 0.0 68 KB

Gradle plugin to install different Node.js environments

License: Apache License 2.0

Groovy 100.00%

gradle-node-envs's Introduction

Gradle Node Envs Plugin JetBrains team project

Usage

Apply the plugin to your project following https://plugins.gradle.org/plugin/com.jetbrains.node.envs, and configure the associated extension:

envs {
      envsDirectory = new File(buildDir, 'envs')
      // By default 64 bit envs should be installed
      // _64Bits = true
  
  
      //usage node "envName", "version"
      node "test1", "v7.1.0"
  
      //usage node "envName", "version", [<packages>]
      node "test2", "7.1.0", ["typescript"]
      //version can contain first 'v' character
      node "test3", "v7.1.0", ["lodash", "tslint"]
      node "test4", "8.1.0", ["jscs", "standard"]
      
      //usage node "envName", "version", "architecture", [<packages>]
      node "test5", "v7.1.0", "32", ["eslint"]
}

Then invoke the build_nodes task.

This will download and install specified Node.Js envs to buildDir/envs.

Libraries listed will be installed correspondingly. Packages in list are installed with npm install -g <package> command.

envs {
      envsDirectory = new File(buildDir, 'envs')
      // By default 64 bit envs should be installed
      // _64Bits = true
  
  
      //usage dart "envName", "channel"
      dart "devLatest", "dev"
      dart "stableLatest", "stable"
  
      //usage dart "envName", "channel", "version"
      dart "dart-1.24.1", "stable", "1.24.1"
      
      //usage dart "envName", "channel", "version", "architecture"
      dart "dart-1.24.1", "dev", "2.0.0-dev.0.0", "32"
}

Then invoke the build_darts task.

This will download and install specified Dart envs to buildDir/envs.

gradle-node-envs's People

Contributors

arostovsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.