Updated deprecated methods

Updated methods deprecated by Gradle 1.6

See: http://www.gradle.org/docs/1.6/release-notes#renamed-several-add%28%29-methods