title: Gradle get 'sudo' rights
body: <p>I have next problem : I need execute some deployment stuff on server using Gradle, but for this Gradle should have 'root' access on target deployment server. I have password for 'sudo', but I don't know how to insert it in server.</p>
  
  <p>Is there any way to get 'sudo' rights from Gradle task?</p>
  
  <p>Thanks in advance.</p>