Test fixes now that properties are not defined on assignment.
Added type parameter.
Removed deprecated property Compression.extension
Removed deprecated property SourceTask.defaultSource.
Statement labels are no longer allowed in build scripts. This was deprecated previously.