The paket-pack plugin allows you to package .nugkg packages from paket.template files.
It will apply the plugins base and paket-base.
The plugin will generate a package task based on the package id inside the paket.template file
| Task name | Depends on | Type | Description |
|---|---|---|---|
| paketPack-packageId | paketBootstrap | wooga.gradle.paket.pack.tasks.PaketPack |
Packs the paket.template file into a nupkg package |
The plugin checks if the paket-get plugin is applied. If so, it will make all PaketPack tasks dependOn paketInstall.
The default value for the version parameter in the PaketPack task will be determined like:
paket.template if availableproject.version if available (!=unspecified)If the default value for version property could not be set and the task was not configured with a custom version, gradle will fail.
When you apply the paket-pack plugin your project will produce artifacts in the nupkg configuration.
You can access these artifacts from subprojects or inside your build.gradle
build.gradle
task(copyToSomeWhere, type:Copy) {
from {configurations.nupkg}
into 'custom/output'
}