user
05/25/2023, 11:47 PM/gradlew check, but I’m getting this error:
Could not determine the dependencies of task ':plugins:nf-hello:test'.
> Could not resolve all task dependencies for configuration ':plugins:nf-hello:testRuntimeClasspath'.
> Could not resolve io.nextflow:nextflow:22.10.0.
Required by:
project :plugins:nf-hello
> No matching variant of project :nextflow:nextflow was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
- Variant 'apiElements' capability io.nextflow:nextflow:23.05.0-edge declares a library compatible with Java 11, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component and the consumer needed a runtime of a component
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'runtimeElements' capability io.nextflow:nextflow:23.05.0-edge declares a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally:
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'testFixturesApiElements' capability io.nextflow:nextflow-test-fixtures:23.05.0-edge declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 19 and the consumer needed a runtime of a component compatible with Java 17
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'testFixturesRuntimeElements' capability io.nextflow:nextflow-test-fixtures:23.05.0-edge declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 19 and the consumer needed a component compatible with Java 17
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
> Could not resolve io.nextflow:nf-commons:22.10.0.
Required by:
project :plugins:nf-hello
> No matching variant of project :nextflow:nf-commons was found. The consumer was configured to find a runtime of a library compatible with Java 17, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
- Variant 'apiElements' capability io.nextflow:nf-commons:23.05.0-edge declares a library compatible with Java 11, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component and the consumer needed a runtime of a component
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'runtimeElements' capability io.nextflow:nf-commons:23.05.0-edge declares a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally:
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'testFixturesApiElements' capability io.nextflow:nf-commons-test-fixtures:23.05.0-edge declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 19 and the consumer needed a runtime of a component compatible with Java 17
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'testFixturesRuntimeElements' capability io.nextflow:nf-commons-test-fixtures:23.05.0-edge declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 19 and the consumer needed a component compatible with Java 17
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
Also, I tried compiling the plugin following the steps listed in the readme file an then executing a simple NF script with: `include { reverse } from 'plugin/nf-hello'`but then I get this message: Plugin 'nf-hello' does not implement any extension point
I haven’t modified the code and I’m working with Java 17.
Can somebody help me with this, please?Ben Sherman
05/31/2023, 1:09 PMuser
06/06/2023, 6:26 PM