Class SourceSetMapper.Builder

java.lang.Object
io.github.srdjanv.localgitdependency.property.impl.SourceSetMapper.Builder
All Implemented Interfaces:
SourceSetMapperBuilder
Enclosing class:
SourceSetMapper

public static class SourceSetMapper.Builder extends Object implements SourceSetMapperBuilder
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • map

      public void map(String projectSet, String... dependencySet)
      Description copied from interface: SourceSetMapperBuilder
      This is used to map SourceSet's of a dependency to a SourceSet on the current project
       mapSourceSets({
          map "main", "example"
          }, {
          map "test", "example", "example2"
       })
       
      Specified by:
      map in interface SourceSetMapperBuilder
      Parameters:
      projectSet - SourceSet name of the current project
      dependencySet - SourceSet's names to inherit from
    • recursive

      public void recursive(Boolean recursive)
      Description copied from interface: SourceSetMapperBuilder
      If the specified dependencySet are going to get added recursively

      Default true

      Specified by:
      recursive in interface SourceSetMapperBuilder
      Parameters:
      recursive - if it should be handled recursively