title: How can I specify a category for a Gradle task?
body: <p>I am writing a Gradle task in Intellij IDEA.  I have noticed that in the Gradle window, the tasks appear under folders like so:</p>
  
  <p><img src="https://i.stack.imgur.com/YAtnP.png" alt="enter image description here"></p>
  
  <p>I am wondering, how can you give a task a 'category' so that it appears in a folder as shown in the screenshot?</p>
  
  <p>All the tasks I create usually end up in <code>other</code>. I am also writing a custom plugin and want it to appear under a 'folder' name of my choosing. but I assume it'll be the same answer for when writing a task. </p>