Class DependencyProperty.Builder
java.lang.Object
io.github.srdjanv.localgitdependency.property.impl.CommonPropertyFields
io.github.srdjanv.localgitdependency.property.impl.CommonPropertyBuilder
io.github.srdjanv.localgitdependency.property.impl.DependencyProperty.Builder
- All Implemented Interfaces:
CommonBuilder,DependencyBuilder
- Enclosing class:
- DependencyProperty
public static class DependencyProperty.Builder
extends CommonPropertyBuilder
implements DependencyBuilder
-
Constructor Summary
Constructors -
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 class io.github.srdjanv.localgitdependency.property.impl.CommonPropertyBuilder
dependencyType, enableIdeSupport, generateGradleTasks, gitDir, gitDir, gradleDaemonMaxIdleTime, javaHomeDir, javaHomeDir, keepDependencyInitScriptUpdated, keepGitUpdated, mavenDir, mavenDir, persistentDir, persistentDir, registerDependencyRepositoryToProject, tryGeneratingJavaDocJar, tryGeneratingSourceJarMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
Builder
-
-
Method Details
-
configuration
Description copied from interface:DependencyBuilderTo what configuration to add all the generated jarspreferably this should be a runtimeOnly configuration
- Specified by:
configurationin interfaceDependencyBuilder- Parameters:
configuration- Configuration name- See Also:
-
ConfigurationContainer
-
configuration
public void configuration(groovy.lang.Closure... configurations) - Specified by:
configurationin interfaceDependencyBuilder- See Also:
-
mapSourceSets
public void mapSourceSets(groovy.lang.Closure... mappings) - Specified by:
mapSourceSetsin interfaceDependencyBuilder- See Also:
-
name
Description copied from interface:DependencyBuilderSets the name of the dependency, it will also be used as the directory name- Specified by:
namein interfaceDependencyBuilder- Parameters:
name- Dependency name
-
commit
- Specified by:
commitin interfaceDependencyBuilder
-
branch
- Specified by:
branchin interfaceDependencyBuilder
-
tag
- Specified by:
tagin interfaceDependencyBuilder
-
oneTimeStartupTasks
Description copied from interface:DependencyBuilderSome projects might require a one time configuration- Specified by:
oneTimeStartupTasksin interfaceDependencyBuilder- Parameters:
startupTasks- task names
-