Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle: Fix bnd extension property lookup for Gradle 2.14 #1496

Merged
merged 1 commit into from
Jun 11, 2016
Merged

gradle: Fix bnd extension property lookup for Gradle 2.14 #1496

merged 1 commit into from
Jun 11, 2016

Conversation

bjhargrave
Copy link
Member

Gradle 2.14 has changed the property lookup for ExtensionAware objects
like Project. Instead of consulting the ext properties before asking the
extension object, it now consults the extension object first. This means
that if the extension object implements propertyMissing, it must throw
a MissingPropertyException for 'ext' and also look in the ext properties
before its own properties to preserve the prior behavior.

Fixes #1495

See also https://discuss.gradle.org/t/bnd-plugin-broken-in-2-14/17983

Gradle 2.14 has changed the property lookup for ExtensionAware objects
like Project. Instead of consulting the ext properties before asking the
extension object, it now consults the extension object first. This means
that if the extension object implements propertyMissing, it must throw
a MissingPropertyException for 'ext' and also look in the ext properties
before its own properties to preserve the prior behavior.

Fixes #1495

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
@bjhargrave bjhargrave merged commit 2170e6c into bndtools:master Jun 11, 2016
@bjhargrave bjhargrave deleted the issue1495 branch June 11, 2016 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant