Class GenerateLicenseFileTask

  • All Implemented Interfaces:
    kotlin.Comparable , org.gradle.api.Named , org.gradle.api.Task , org.gradle.api.internal.DynamicObjectAware , org.gradle.api.internal.TaskInternal , org.gradle.api.plugins.ExtensionAware , org.gradle.util.Configurable

    @CacheableTask() 
    public abstract class GenerateLicenseFileTask
    extends DefaultTask
                        

    Task that generates license header files from templates bundled in the plugin.

    This task uses @Classpath to track the plugin JAR that contains the template resources. When the plugin is updated with new template content, Gradle will automatically detect the change and regenerate the license files.

    • Constructor Detail

      • GenerateLicenseFileTask

        GenerateLicenseFileTask()