title: Can I create a JAR of a Groovy project and use the Groovy classes within a Java project
body: <p>Currently I have a small Groovy Script that I'm using in multiple places. I want to be able to include it in other Groovy scripts by using grapes. I may want to use this library in a Java project in the future. </p>
  
  <p>Is it possible to compile and 'install' this script (e.g using maven or gradle) and keep it in Groovy? </p>