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.
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.