stevesaliman/gradle-properties-plugin — pull request #2 by scottdeboy (2013-09-09 17:22:08+00:00)
Title: Updating property setters to avoid deprecated feature warning and to wor...

...k in environments with project hierarchies

Using Gradle 1.7 in a project hiearchy, discovered as soon as I included the subproject which leverages the properties plugin I would receive this error:

> cannot get property 'environmentName' on extra properties extension as it does not exist

The issue is mentioned here, and the fix is to avoid using 'ext' when reading properties.

This patch avoids the deprecation warning and resolves my subproject issue.