Add a set of tasks to publish nupkg package to a local destination. This helps when developing new features and you want to test them in other projects (PuzzleCore use case).
How to set it up:
publishing {
repositories {
nuget {
name "snapshot"
url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-snapshot"
}
nuget {
name "rc"
url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-rc"
}
nuget {
name "final"
url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-release"
}
nuget {
name "localExportOne"
path "../myOtherProject"
}
nuget {
name "localExportTwo"
path "../myLocalNugetStorage"
}
}
}
You have to set a path instead of url
This generates a new set of tasks:
publishLocal - publish all nupkg to all local paths
publishLocallocalExportOne - Publishes all nupkg artifacts to ../myOtherProject
publishLocallocalExportTwo - Publishes all nupkg artifacts to ../myLocalNugetStorage
publishLocallocalExportOne-Wooga.MyPackageId - Copies Wooga.MyPackageId.0.1.0-dev.3.uncommitted+5ae8199.nupkg to../myOtherProject
publishLocallocalExportTwo-Wooga.MyPackageId - Copies Wooga.MyPackageId.0.1.0-dev.3.uncommitted+5ae8199.nupkg to../myLocalNugetStorage
Description
Add a set of tasks to publish
nupkg
package to a local destination. This helps when developing new features and you want to test them in other projects (PuzzleCore use case).How to set it up:
You have to set a
path
instead ofurl
This generates a new set of tasks: