Table of Contents
By applying the CDK base plugin, your build gains access to the CdkCmdlineTask
task type. The plugin doesn’t do anything else.
Example use of the CDK base plugin and the
CdkCmdlineTask
link:./src/functionalTest/groovy/fi/linuxbox/gradle/cdk/base/CdkCmdlineTaskSpec.groovy[role=include]
The CdkCmdlineTask
is a specialization of the NpmPackageCmdlineTask
from the
npm-global
plugin.
See npm-global for details.
Also, to control the Node.js version that is used, see
Node.js plugin.
In case you want to use this as a library, this is available at Maven Central
using group ID fi.linuxbox.gradle
and artifact ID gradle-cdk-plugin
.
gradle-cdk-plugin is Free Software, licensed under GNU General Public License (GPL), version 3 or later. See LICENSE file for details.