Groovy Documentation

org.linkedin.gradle.plugins
[Groovy] Class CmdLinePluginConvention

java.lang.Object
  org.linkedin.gradle.plugins.CmdLinePluginConvention

class CmdLinePluginConvention

Property Summary
java.lang.Object artifactConfigurations

java.io.File assemblePackageDir

java.io.File assemblePackageFile

java.lang.String basePackageName

java.lang.String cmdlineLogLevel

Compression compression

java.lang.Object dependsOn

java.lang.Object folders

boolean includeRoot

java.io.File installDir

java.io.File installFile

java.lang.String packageClassifier

java.io.File packageDir

java.lang.String packageExtension

java.io.File packageFile

java.lang.String packageName

java.lang.String packageVersion

java.lang.Object replacementTokens

java.lang.Object resources

Each entry in the list is a map with the following:

  • from: anything that can be used directly in the 'from' field of the copy task
  • into: anything that can be used directly in the 'into' field of the copy task (optional => default to assemblePackageFile)
  • replaceTokens: a boolean to replace tokens or not (default to true)
  • java.lang.Object resourcesConfigurations

    Map of configurations: key is configuration name, value is folder (relative to convention.assemblePackageFile if String)

     
    Constructor Summary
    CmdLinePluginConvention(Project project)

     
    Method Summary
    java.lang.Object cmdline(groovy.lang.Closure closure)

    java.io.File getAssemblePackageDir()

    java.io.File getAssemblePackageFile()

    java.lang.Object getDependsOn()

    java.io.File getInstallDir()

    java.io.File getInstallFile()

    java.io.File getPackageDir()

    java.lang.String getPackageExtension()

    java.io.File getPackageFile()

    java.lang.String getPackageName()

    void setCompression(java.lang.String value)

    void setReplacementTokens(java.lang.Object tokens)

     
    Methods inherited from class java.lang.Object
    java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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

    artifactConfigurations

    java.lang.Object artifactConfigurations


    assemblePackageDir

    java.io.File assemblePackageDir


    assemblePackageFile

    java.io.File assemblePackageFile


    basePackageName

    java.lang.String basePackageName


    cmdlineLogLevel

    java.lang.String cmdlineLogLevel


    compression

    Compression compression


    dependsOn

    java.lang.Object dependsOn


    folders

    java.lang.Object folders


    includeRoot

    boolean includeRoot


    installDir

    java.io.File installDir


    installFile

    java.io.File installFile


    packageClassifier

    java.lang.String packageClassifier


    packageDir

    java.io.File packageDir


    packageExtension

    java.lang.String packageExtension


    packageFile

    java.io.File packageFile


    packageName

    java.lang.String packageName


    packageVersion

    java.lang.String packageVersion


    replacementTokens

    java.lang.Object replacementTokens


    resources

    java.lang.Object resources
    Each entry in the list is a map with the following:
  • from: anything that can be used directly in the 'from' field of the copy task
  • into: anything that can be used directly in the 'into' field of the copy task (optional => default to assemblePackageFile)
  • replaceTokens: a boolean to replace tokens or not (default to true)
  • For convenience, you can use a shortcut notation containing only the 'from' part in which case it will be converted as:
     [from: from, into: , replaceTokens: true]
     


    resourcesConfigurations

    java.lang.Object resourcesConfigurations
    Map of configurations: key is configuration name, value is folder (relative to convention.assemblePackageFile if String)


     
    Constructor Detail

    CmdLinePluginConvention

    CmdLinePluginConvention(Project project)


     
    Method Detail

    cmdline

    java.lang.Object cmdline(groovy.lang.Closure closure)


    getAssemblePackageDir

    java.io.File getAssemblePackageDir()


    getAssemblePackageFile

    java.io.File getAssemblePackageFile()


    getDependsOn

    java.lang.Object getDependsOn()


    getInstallDir

    java.io.File getInstallDir()


    getInstallFile

    java.io.File getInstallFile()


    getPackageDir

    java.io.File getPackageDir()


    getPackageExtension

    java.lang.String getPackageExtension()


    getPackageFile

    java.io.File getPackageFile()


    getPackageName

    java.lang.String getPackageName()


    setCompression

    void setCompression(java.lang.String value)


    setReplacementTokens

    void setReplacementTokens(java.lang.Object tokens)


     

    Groovy Documentation