public static class Dependency.DependencyBuilder extends Object
Modifier and Type | Method and Description |
---|---|
Dependency.DependencyBuilder |
artifactId(String artifactId)
Maven artifact ID.
|
Dependency |
build() |
Dependency.DependencyBuilder |
file(File file)
Dependency file.
|
Dependency.DependencyBuilder |
groupId(String groupId)
Maven group ID.
|
Dependency.DependencyBuilder |
scope(String scope)
Dependency scope (e.g.
|
String |
toString() |
Dependency.DependencyBuilder |
type(String type)
Dependency type (e.g.
|
Dependency.DependencyBuilder |
version(String version)
Maven version.
|
public Dependency.DependencyBuilder groupId(String groupId)
groupId
- New maven group ID for the dependency.this
.public Dependency.DependencyBuilder artifactId(String artifactId)
artifactId
- New maven artifact ID for the dependency.this
.public Dependency.DependencyBuilder version(String version)
version
- New maven version for the dependency.this
.public Dependency.DependencyBuilder type(String type)
type
- New type for the dependency.this
.public Dependency.DependencyBuilder scope(String scope)
scope
- New scope for the dependency.this
.public Dependency.DependencyBuilder file(File file)
file
- New file for the dependency.this
.public Dependency build()
Copyright © 2021. All rights reserved.