Interface DependencyBuilder
- All Superinterfaces:
CommonBuilder
- All Known Implementing Classes:
DependencyProperty.Builder
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidconfiguration(groovy.lang.Closure... configurations) voidconfiguration(String configuration) To what configuration to add all the generated jarsvoidmapSourceSets(groovy.lang.Closure... mappings) voidSets the name of the dependency, it will also be used as the directory namevoidoneTimeStartupTasks(String... startupTasks) Some projects might require a one time configurationvoidMethods inherited from interface io.github.srdjanv.localgitdependency.property.CommonBuilder
dependencyType, enableIdeSupport, generateGradleTasks, gitDir, gitDir, gradleDaemonMaxIdleTime, javaHomeDir, javaHomeDir, keepDependencyInitScriptUpdated, keepGitUpdated, mavenDir, mavenDir, persistentDir, persistentDir, registerDependencyRepositoryToProject, tryGeneratingJavaDocJar, tryGeneratingSourceJar
-
Method Details
-
configuration
To what configuration to add all the generated jarspreferably 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
Sets the name of the dependency, it will also be used as the directory name- Parameters:
name- Dependency name
-
commit
-
branch
-
tag
-
oneTimeStartupTasks
Some projects might require a one time configuration- Parameters:
startupTasks- task names
-