[GRADLE-2195] Gradle 1.0-m9: MapNotationParser removing keys from dependency definitions specified as Maps Created: 23/Mar/12  Updated: 04/Jan/13  Resolved: 26/Mar/12

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.0-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

Hi,
The `MapNotationParser` in Gradle 1.0 milestone 9 is removing known dependency properties (group/name/version, etc.) from any dependency definition specified as a Map:

Map commonsLang = [ group: 'commons-lang', name: 'commons-lang', version: '2.6' ]

dependencies

{ compile (commonsLang) }

//fails, key removed
assert commonsLang['group']

The above worked with Gradle 1.0-m8.

Regards,
Detelin


Generated at Wed Jun 30 12:15:18 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.