Hello,
I'd like to announce Gradle with support for Mirah projects. The
Mirah compiler is embedded into the Gradle JVM in order to minimize
JVM startup overhead.
You can setup a Mirah project with Gradle as shown in this example:
https://github.com/felixvf/gradle/tree/2bcc87678be84bce5239f3ff1990e41c896c8052/subprojects/mirah/src/integTest/resources/org/gradle/mirah/compile/IncrementalMirahCompileIntegrationTest/recompilesSourceWhenPropertiesChange
You can have both Java source code and Mirah source code in the same
project. Java code is compiled first, Mirah code is compiled
afterwards. (This currently means that Java code which references
classes or interfaces defined in your Mirah code does not compile,
because at the compile time of the Java code, the Mirah code has not
yet been compiled. However, as Mirah is being improved, writing Java
source code should become unnecessary anyway. ;-))
You benefit from all the perks the Gradle ecosystem brings to you,
such as a Domain Specific Language for modeling your build,
depending on an external Java library by just one extra line in the
"build.gradle" file, automatic packaging, testing and deployment of
your project, ... . Building with Gradle (including the Gradle
daemon) is faster than building using JRuby’s "rake".
Gradle with Mirah support is available, if you want to compile it
yourself,
Else, complete binaries are also available
I'm happy to receive any feedback and I'm open to any questions.
Cheers!
Felix