jprante / gradle-plugin-jflex

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

Issue with version 1.4.0 #15

Open waynee95 opened 4 years ago

waynee95 commented 4 years ago

When using version 1.4.0, the jflex task is not available for some reason. I do not run into this issue when using version 1.3.0 of this plugin.

Using 1.3.0

λ cat build.gradle
plugins {
 id 'org.xbib.gradle.plugin.jflex' version '1.3.0'
}

λ gradle jflex

BUILD SUCCESSFUL in 432ms
1 actionable task: 1 up-to-date

Using 1.4.0

λ cat build.gradle
plugins {
 id 'org.xbib.gradle.plugin.jflex' version '1.4.0'
}

λ gradle jflex

FAILURE: Build failed with an exception.

* What went wrong:
Task 'jflex' not found in root project 'jflex-example'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 420ms

I tested this with several gradle versions.

keeferrourke commented 3 years ago

Looking to use this plugin in a project and I'm also encountering this issue. Any luck getting the latest version of this plugin to work?

waynee95 commented 3 years ago

@keeferrourke I did not investigate this issue further. In the end I decided to not use JFlex at all for my project.