Interface DependencyBuilder

All Superinterfaces:
CommonBuilder
All Known Implementing Classes:
DependencyProperty.Builder

public interface DependencyBuilder extends CommonBuilder
  • Method Details

    • configuration

      void configuration(String configuration)
      To what configuration to add all the generated jars

      preferably this should be a runtimeOnly configuration

      Parameters:
      configuration - Configuration name
      See Also:
      • ConfigurationContainer
    • configuration

      void configuration(@DelegatesTo(value=ArtifactBuilder.class,strategy=1) groovy.lang.Closure... configurations)
      See Also:
    • mapSourceSets

      void mapSourceSets(@DelegatesTo(value=SourceSetMapperBuilder.class,strategy=1) groovy.lang.Closure... mappings)
      See Also:
    • name

      void name(String name)
      Sets the name of the dependency, it will also be used as the directory name
      Parameters:
      name - Dependency name
    • commit

      void commit(String commit)
    • branch

      void branch(String branch)
    • tag

      void tag(String tag)
    • oneTimeStartupTasks

      void oneTimeStartupTasks(String... startupTasks)
      Some projects might require a one time configuration
      Parameters:
      startupTasks - task names