Classpath delegate for closures.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ERROR_MESSAGE |
Fields inherited from class | Fields |
---|---|
class BaseDependencyDelegate |
DEPENDENCIES_ATTRIBUTE_TYPES, DEPENDENCIES_DEFAULT_ATTRIBUTES, ERROR_MESSAGE, project, traversalRules |
Type | Name and description |
---|---|
java.util.List<java.nio.file.Path> |
paths |
Constructor and description |
---|
ClasspathDelegate
(org.savantbuild.domain.Project project, org.savantbuild.dep.DependencyService dependencyService) |
Type | Name and description |
---|---|
java.nio.file.Path |
path(java.util.Map<java.lang.String, java.lang.Object> attributes) Adds a path to the classpath. |
org.savantbuild.lang.Classpath |
toClasspath() Converts the delegate to a org.savantbuild.lang.Classpath instance. |
Methods inherited from class | Name |
---|---|
class BaseDependencyDelegate |
dependencies |
Adds a path to the classpath. This is called with name attributes (location is required) like this:
path(location: "some-directory")
attributes
- The named attributes.Converts the delegate to a org.savantbuild.lang.Classpath instance.