Interface SourceSetMapperBuilder

All Known Implementing Classes:
SourceSetMapper.Builder

public interface SourceSetMapperBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    map(String projectSet, String... dependencySet)
    This is used to map SourceSet's of a dependency to a SourceSet on the current project
    void
    recursive(Boolean recursive)
    If the specified dependencySet are going to get added recursively
  • Method Details

    • map

      void map(String projectSet, String... dependencySet)
      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"
       })
       
      Parameters:
      projectSet - SourceSet name of the current project
      dependencySet - SourceSet's names to inherit from
    • recursive

      void recursive(Boolean recursive)
      If the specified dependencySet are going to get added recursively

      Default true

      Parameters:
      recursive - if it should be handled recursively