[GRADLE-492] Cannot set dynamic property on archive tasks Created: 20/May/09  Updated: 04/Jan/13  Resolved: 22/May/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.6
Fix Version/s: 0.6.1

Type: Bug
Reporter: Adam Murdoch Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


The following fails with a missing property exception:

task myZip(type: Zip)

myZip.customProperty = 'some value'

The above works with type DefaultTask, and seems to work for most other tasks.

Interestingly, the following does actually work:

task myZip(type: Zip)

myZip.configure {
    customProperty = 'some value'

myZip {
    customProperty = 'another value'

Generated at Wed Jun 30 11:31:28 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.