wooga / atlas-paket

Paket plugin for gradle
https://wooga.github.io/atlas-paket/
Apache License 2.0
0 stars 2 forks source link

Add endpoint input value to PaketPush #27

Closed Larusso closed 6 years ago

Larusso commented 6 years ago

Description

Paket push supports a custom --endpoint or endpoint flag for the push command. This pull requests adds support for this option. The taskPaketPushcontains a new property endpoint which when sets adds this argument to thepaket push` command.

The Nuget Repository object also contains a new setter for endpoint this allows to configure the endpoint at publish repository level.

publishing {
    repositories {
        nuget {
            name "nuget1"
            url "https://nuget.feed"
            endpoint "/api/v2/package"
        }
    }
}

resolves #24

Changes

ADD endpoint property to PaketPush ADD endpoint property to NugetRepository