groovy - How to navigate in Gradle API documentation? -


this unusual question. have problem navigating in gradle groovy api doc. example see following code,

uploadarchives { repositories {     ivy {         credentials {             username "username"             password "pw"         }     url "http://repo.mycompany.com"     } } } 

in above code how can find goes "credentials" closure in api documentaion ?

thanks

i'm quite new gradle myself, do:

  1. start project build script executed against project instance
  2. look repositories { }
  3. it mentions repositoryhandler, ivy { } there
  4. ivy() returns ivyartifactrepository, guess closure executed against that
  5. however there no credentials { } defined on ivyartifactrepository
  6. jump its api doc check superclasses (link on top of page)
  7. you can see there credentials defined on authenticationsupported
  8. passwordcredentials mentioned there, , see has username , password properties

it's not intuitive, , miss code completion lot, once hang of it, becomes easier find way through documentation.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -