Interface PluginBuilder
- All Known Implementing Classes:
PluginConfig.Builder
public interface PluginBuilder
-
Method Summary
Modifier and TypeMethodDescriptionvoidautomaticCleanup(Boolean automaticCleanup) Cleanup removed dependencies.voiddefaultDir(Object dir) This will set the directory for all the default folder.voidgenerateGradleTasks(Boolean generateGradleTasks) This will generate default tasksvoidThis will set the directory in which the dependency will be created, it will not set the folder.voidkeepInitScriptUpdated(Boolean keepInitScriptUpdated) If set to false the generated mainInitScript will never be updated of fixed if changes are detectedvoidSome Dependency types will publish the artifact to local maven repo.voidpersistentDir(Object persistentDir) This will set the directory in which the dependency data will be stored, it will not set the folder.
-
Method Details
-
defaultDir
This will set the directory for all the default folder. The default is localGitDependency- Parameters:
dir- directory target
-
gitDir
This will set the directory in which the dependency will be created, it will not set the folder. If you set the path to "./libs" the dependency will make a directory based of the dependency name inside the folder- Parameters:
gitDir- directory target
-
persistentDir
This will set the directory in which the dependency data will be stored, it will not set the folder. If you set the path to "./folder" the dependency will make a directory based of the dependency name inside the folder- Parameters:
persistentDir- directory target
-
mavenDir
Some Dependency types will publish the artifact to local maven repo.- Parameters:
mavenDir- directory target- See Also:
-
keepInitScriptUpdated
If set to false the generated mainInitScript will never be updated of fixed if changes are detected- Parameters:
keepInitScriptUpdated- If it should stay updated
-
generateGradleTasks
This will generate default tasks- Parameters:
generateGradleTasks- if it should create custom tasks
-
automaticCleanup
Cleanup removed dependencies. It's enabled by default, but if you specify a custom global path you must explicitly enable it. This is done because the cleanupManager will delete everything under those directories that doesn't mach with a registered dependency- Parameters:
automaticCleanup- if it should cleanup removed dependencies
-