gradle
Toggle table of contents
9.1.0-20250628022042+0000
API
Platform filter
API
Switch theme
Search in API
gradle
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
IvyArtifactRepository
MavenArtifactRepository
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.