toggle menu
gradle
8.10.2
API
switch theme
search in API
gradle
/
org.gradle.api.artifacts
/
DependencyArtifact
Dependency
Artifact
API
interface
DependencyArtifact
(
source
)
Data class that represents an artifact included in a
org.gradle.api.artifacts.Dependency
.
Members
Properties
DEFAULT_TYPE
Link copied to clipboard
API
val
DEFAULT_TYPE
:
String
=
"jar"
Functions
get
Classifier
Link copied to clipboard
API
@
Nullable
abstract
fun
getClassifier
(
)
:
String
Returns the classifier of this artifact.
get
Extension
Link copied to clipboard
API
@
Nullable
abstract
fun
getExtension
(
)
:
String
Returns the extension of this artifact.
get
Name
Link copied to clipboard
API
abstract
fun
getName
(
)
:
String
Returns the name of this artifact.
get
Type
Link copied to clipboard
API
abstract
fun
getType
(
)
:
String
Returns the type of this artifact.
get
Url
Link copied to clipboard
API
@
Nullable
abstract
fun
getUrl
(
)
:
String
Returns a URL under which this artifact can be retrieved.
set
Classifier
Link copied to clipboard
API
abstract
fun
setClassifier
(
@
Nullable
classifier
:
String
)
Sets the classifier of this artifact.
set
Extension
Link copied to clipboard
API
abstract
fun
setExtension
(
@
Nullable
extension
:
String
)
Sets the extension of this artifact.
set
Name
Link copied to clipboard
API
abstract
fun
setName
(
name
:
String
)
Sets the name of this artifact.
set
Type
Link copied to clipboard
API
abstract
fun
setType
(
type
:
String
)
Sets the type of this artifact.
set
Url
Link copied to clipboard
API
abstract
fun
setUrl
(
@
Nullable
url
:
String
)
Sets the URL for this artifact.