/gradle-cdk-plugin

CDK plugin for Gradle

Primary LanguageGroovyGNU General Public License v3.0GPL-3.0

CDK plugin for Gradle

Version at Gradle plugin portal Version at Maven Central

This is (going to be) a set of Gradle plugins for CDK.

Currently, this plugin requires Gradle 7.1 or newer, because npm-global requires it.

The cdk.base plugin

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.

Usage as a Library

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.

License

gradle-cdk-plugin is Free Software, licensed under GNU General Public License (GPL), version 3 or later. See LICENSE file for details.