ConfigurationContainer provides examples with deprecated methods (add)

Looking at http://www.gradle.org/docs/current/javadoc/org/gradle/api/artifacts/ConfigurationContainer.html (gradle 1.6), the examples use configurations.add(‘myConfiguration’) as example, however the add methods seems to have been deprecated (Deprecated. use NamedDomainObjectContainer.create(String) instead)

Hello Thierry, thanks for reporting this. I’ve fixed this on master: https://github.com/gradle/gradle/commit/5dcbb0ad01ae491927d9f67050c3550e8aaa62bc

cheers, René

Hi

Thanks for that. I do not want to be picky, however, in the mentioned file there were 2 entries (there is still one at line 34)

Thanks for the fix.

Thierry

I thought I fixed that occurence too, too bad. But now it should be fixed. thanks again!