What went wrong:
A problem occurred evaluating root project 'seu'.
> No signature of method: org.gradle.api.internal.artifacts.repositories.DefaultPasswordCredentials_Decorated.get() is applicable for argument types: (java.lang.String) values: [nexusUsername]
Possible solutions: getAt(java.lang.String), grep(), grep(java.lang.Object), wait(), any(), wait(long)
On gradle 2.9, I cannot use the credentials plugin as described in the documentation. The docs says I should reference credentials like this:
but that leads to the following error:
When I change the configuration to the following (as described here: https://docs.gradle.org/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html), the plugin works as expected