Class ConventionsExtension.HeaderExtension

java.lang.Object
com.cleanroommc.conventions.ConventionsExtension.HeaderExtension
Enclosing class:
ConventionsExtension

public abstract static class ConventionsExtension.HeaderExtension extends Object
Selects the Java sources applyLicenseHeader writes to.
  • Constructor Details

    • HeaderExtension

      public HeaderExtension()
  • Method Details

    • getSourceSets

      public abstract org.gradle.api.provider.ListProperty<String> getSourceSets()
      Names of the source sets to cover. Defaults to every source set in the project.
    • getIncludes

      public abstract org.gradle.api.provider.SetProperty<String> getIncludes()
      Ant-style patterns of the files to cover, relative to each source directory. Defaults to every file.
    • getExcludes

      public abstract org.gradle.api.provider.SetProperty<String> getExcludes()
      Ant-style patterns of the files to leave alone, relative to each source directory.
    • sourceSets

      public void sourceSets(String... names)
    • include

      public void include(String... patterns)
    • exclude

      public void exclude(String... patterns)