title: How get full path to file build.gradle by Groovy?
body: <p>I need create file in my java-project near buiid.gradle-file. I must create task (Groovy task) in build.gradle-file, my task must create file near buiid.gradle in my project, but I do not know - how do get path to buiid.gradle-file, that is putting in my project.</p>
  
  <p>How get full path to file buiid.gradle by Groovy? Help me, please.</p>