Skip to content

mavenRepoUrl如果使用http协议的是由仓库源,无法拉取依赖 #246

@humanate

Description

@humanate
private fun configureRepository(project: Project) {
    with(project.repositories) {
        // customize
        project.findPropertyOrNull("mavenRepoUrl")?.let { url ->
            maven { it.url = URI(url) }
        }

使用mavenRepoUrl时,如果时私有http源无法拉取依赖,是否可以增加isAllowInsecureProtocol的配置

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions