Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Publishing] Can't publish artifacts to directory #64

Closed
aalmiray opened this issue Jan 17, 2019 · 0 comments
Closed

[Publishing] Can't publish artifacts to directory #64

aalmiray opened this issue Jan 17, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aalmiray
Copy link
Collaborator

An exception occurs when a directory based repository is configured

config {
    info {
        repositories {
            repository {
                name = 'releaseRepo'
                url  = "${project.rootProject.buildDir}/repos/releases"
            }
        }
    }

    publishing {
        signing            = true
        releasesRepository = 'releaseRepo'
    }
}

The error is

Execution failed for task ':sample:publishMainPublicationPublicationToMavenRepository'.
> Failed to publish publication 'mainPublication' to repository 'maven'
   > Authentication scheme 'all'(Authentication) is not supported by protocol 'file'

The problem is caused by empty credentials

@aalmiray aalmiray added the bug Something isn't working label Jan 17, 2019
@aalmiray aalmiray added this to the 0.13.0 milestone Jan 17, 2019
@aalmiray aalmiray self-assigned this Jan 17, 2019
@aalmiray aalmiray changed the title [Publish] Can't publish artifacts to directory [Publishing] Can't publish artifacts to directory Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant