Beta
A Gradle plugin for JFlex, a scanner generator.
First, install the plugin to your local repository using gradle install
.
(I'll get this puppy up on Maven Central sometime soon.)
Then:
apply plugin: 'java'
apply plugin: 'jflex'
buildscript {
repositories {
mavenLocal()
}
dependencies {
classpath 'co.tomlee.gradle.plugins:gradle-jflex-plugin:0.0.1'
}
}
dependencies {
jflex 'de.jflex:jflex:1.6.0'
}
Once everything's wired up, Gradle will look for your JFlex specs in
src/main/jflex/*.l
.
Apache 2.0
Please log defects and feature requests using the issue tracker on github.
gradle-jflex-plugin was written by Tom Lee.