-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradlew assemble not working for local development #25
Comments
I have the same issue |
The build scripts probably just need to be updated, in the meantime I would build against an earlier version of Nextflow |
Changing gradle version in |
For now I updated the README to use Nextflow 23.10 when building locally. I will update it on the next stable release. To be honest, I usually don't build this way anymore because it is brittle for other reasons. For me it is easier to simply |
which version of Java and Gradle are you using? |
Java 17, Gradle version is defined in the Nextflow and nf-prov repos |
@stefanches7 I am now using the methods outlined here https://github.com/stevekm/nf-niceutils/blob/main/NOTES.md in particular I am using the method included in the Gradle project there to move the plugin files to the location at maybe we could get the same added to this repo? Seems like this kind of method is a little more robust as alluded to by @bentsherman |
I think in this repo the same steps are wrapped up here https://github.com/nextflow-io/nf-prov/blob/master/Makefile#L46-L50 |
this is fixed by the updates in #31 this method also works; # install local Nextflow
# wget -qO- https://get.nextflow.io | bash
./gradlew assemble
NXF_PLUGINS_DEV=$PWD/plugins ./nextflow run tests/test.nf |
as per the README, I ran the step
but I get the error
It seems that the current version of
nf-prov
has thiswhich seems to be incompatible with the latest version of the
nextflow
repoI tried changing it to this
but then I get this error
Not sure what I need to do to make it work, seems like there are potentially multiple version mis-matches for Gradle / Java / etc. between the
nextflow
andnf-prov
repos?I am running with this version of Java (installed / managed with
conda
)The text was updated successfully, but these errors were encountered: