plugins {
id 'org.mirah.lang' version '0.9'
}
dependencies {
compile 'org.mirah:mirah:0.2.1' // (1)
}
-
Define the version of Mirah to be used for compilation
Now put your sources in src/main/mirah
or src/test/mirah
Two tasks (of type MirahCompile
are automatically added when the plugin is applied. They are called compileMirah
and
compileTestMirah
.