Skip to content

Latest commit

 

History

History

application-with-preinstalled-nodejs-distribution

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Example: build a Javascript application using a preinstalled Node.js distribution.

This example demonstrates how to configure a Gradle project to build a Javascript application.

Requirements

  • A Gradle Wrapper configured in this directory.
  • Preinstalled distribution of Node.js on the workstation.
  • Either set the value of the preinstalledNodeDistributionDirectory variable in the build.gradle.kts file, or define a FGP_NODEJS_HOME environment variable pointing to the Node.js installation directory.

Description

Enter gradlew nodeVersion npmVersion build on a command line and verify outputs of each task.