title: How do I specify nexus credentials with `gradle init`?
body: <p>When running <code>gradle init</code> to facilitate migration from a maven pom to a gradle build, is there a way to specify credentials for a repository that requires them for read-only access (our local nexus repo requires auth even for reads)? </p>
  
  <p>Usually it fails because our parent pom would require read-only authentication to pull down from the local repo, but it doesn't seem like you can specify these credentials until after the build.gradle file already exists, which is counter-intuitive to the <code>gradle init</code> purpose.</p>
  
  <p>Adding them via <code>~/.gradle/.gradle.properties</code> or through various  <code>~/.gradle/init.gradle</code> methods doesn't seem to work.</p>