jprante / gradle-plugin-jflex

A JFlex plugin for Gradle
Apache License 2.0
8 stars 6 forks source link

feature request: alternative JFlex versions #5

Open SingingBush opened 7 years ago

SingingBush commented 7 years ago

annoyingly when writing a lexer for an Intellij plugin it seems I have to use a version of JFlex that has been patched by JetBrains. I currently use a locally built jar for de.jflex:jflex:1.7.0-SNAPSHOT.

instead of your plugin specifying compile "de.jflex:jflex:1.6.1" in the dependencies perhaps it should use compileOnly so that the user is responsible for including a JFlex version that suites their needs.

Another option could to have a configuration option that allows the user to specify a jflex version which the plugin will then download and use.