wooga / atlas-paket

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

PaketPack version parameter can no longer be a closure #31

Closed Larusso closed 6 years ago

Larusso commented 6 years ago

Description

Before version 1.0.0 it was possible to set the version parameter as a groovy Closure or Callable object.

Steps to reproduce

  1. Create project with a paket.dependencies, paket.template file and a gradle setup.
  2. Set version parameter of the paketPack task to `{ "some version" }

Expected behavior

PaketPack task evaluates closure and uses internal object.toString()

Current behavior

PaketPack fails because version passed to the paket tool is Closure.toString() output.