Apache Buildr

https://buildr.apache.org/

Apache Buildr is a build system for Java-based applications, including support for Scala, Groovy and a growing number of JVM languages and tools.

Snippet from Wikipedia: Apache Buildr

Buildr is an open-source build system mainly intended to build Java applications. It gives the developer a full-blown scripting language (Ruby) while writing their build scripts, which are usually missing in XML-based building environments such as Apache Ant or Apache Maven.