Groovy Documentation

com.cloudbees.clickstack.plugins
[Groovy] Class ClickStackPluginConvention

java.lang.Object
  com.cloudbees.clickstack.plugins.ClickStackPluginConvention

class ClickStackPluginConvention

Inspired by Gradle Application Plugin.

Authors:
Cyrille Le Clerc


Property Summary
java.lang.Iterable clickStackDefaultJvmArgs

Array of string arguments to pass to the JVM when running the application

CopySpec clickStackDistribution

java.lang.String clickStackName

The name of the clickStack.

java.lang.String mainClassName

The fully qualified name of the application's main class.

Project project

 
Constructor Summary
ClickStackPluginConvention(Project project)

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

clickStackDefaultJvmArgs

java.lang.Iterable clickStackDefaultJvmArgs
Array of string arguments to pass to the JVM when running the application


clickStackDistribution

CopySpec clickStackDistribution

The specification of the contents of the distribution.

Use this org.gradle.api.file.CopySpec to include extra files/resource in the application distribution.

 apply plugin: 'clickStack'

 clickStackDistribution.from("some/dir") {
   include "*.txt"
 }
 

Note that the clickStack plugin pre configures this spec to; include the contents of "src/dist", copy the clickStack "setup" scripts into the "." directory, and copy the built 'fat' jar into the "." directory.


clickStackName

java.lang.String clickStackName
The name of the clickStack.


mainClassName

java.lang.String mainClassName
The fully qualified name of the application's main class.


project

final Project project


 
Constructor Detail

ClickStackPluginConvention

ClickStackPluginConvention(Project project)


 

Groovy Documentation