toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.artifacts.repositories
/
UrlArtifactRepository
Url
Artifact
Repository
API
interface
UrlArtifactRepository
(
source
)
A repository that supports resolving artifacts from a URL.
Since
6.0
Inheritors
MavenArtifactRepository
IvyArtifactRepository
Members
Functions
get
Url
Link copied to clipboard
API
abstract
fun
getUrl
(
)
:
URI
The base URL of this repository.
is
Allow
Insecure
Protocol
Link copied to clipboard
API
abstract
fun
isAllowInsecureProtocol
(
)
:
Boolean
Specifies whether it is acceptable to communicate with a repository over an insecure HTTP connection.
set
Allow
Insecure
Protocol
Link copied to clipboard
API
abstract
fun
setAllowInsecureProtocol
(
allowInsecureProtocol
:
Boolean
)
Specifies whether it is acceptable to communicate with a repository over an insecure HTTP connection.
set
Url
Link copied to clipboard
API
abstract
fun
setUrl
(
url
:
Any
)
abstract
fun
setUrl
(
url
:
URI
)
Sets the base URL of this repository.