How to navigate in Gradle API documentation?

This could be a unusual question. I have a problem with navigating in gradle groovy api doc. For example see following code,

uploadArchives {
repositories {
    ivy {
        credentials {
            username "username"
            password "pw"
    url ""

In above code how can i find what goes into "credentials" closure in api documentaion ?



I'm quite new to Gradle myself, but this is what I would do:

  1. Start from Project as the build script is always executed against a Project instance
  2. Look for repositories { }
  3. It mentions RepositoryHandler, so look for ivy { } there
  4. ivy() returns a IvyArtifactRepository, so I guess the closure will be executed against that
  5. However there is no credentials { } defined on IvyArtifactRepository
  6. Jump to its API doc to check its superclasses (link on the top of the page)
  7. You can see there that credentials is defined on AuthenticationSupported
  8. PasswordCredentials is mentioned there, and finally you see that it only has username and password properties

It's not always very intuitive, and I miss code completion a lot, but once you get the hang of it, it becomes easier to find your way through the documentation.

Need Your Help

org.mule.routing.ExpressionSplitter: Splitter only returned a single result. If this is not expected, please check your split expression


I have created a custom java component which reads the JMS Messages in "for loop", removes the duplicate messages based on specific pattern and adds the redundant messages to array list and return ...

Limiting ASP.Net cookies to application cookies overlap

I have two applications on my webserver.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.