Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Conversation

@robsyme
Copy link

@robsyme robsyme commented Dec 4, 2024

This adds a new make command and corresponding gradle task to install the plugin in the user's local plugins directory. This is to make it a little bit easier to get started with plugin development.

make install-plugin

}

// Add this line to explicitly declare the test framework launcher
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an addition to address the warning when running make test. The warning was:

./gradlew test --warning-mode all
Task :plugins:nf-hello:test
The automatic loading of test framework implementation dependencies has been deprecated. This is scheduled to be removed in Gradle 9.0. Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#test_framework_implementation_dependencies

@tom-seqera
Copy link
Contributor

The settings on this repo require you to both 'sign-off' (git commit --signoff) and cryptographically sign (git commit --gpg-sign) all commits before I can merge.

@robsyme
Copy link
Author

robsyme commented Dec 9, 2024

Signed and delivered 🫡

robsyme and others added 5 commits January 10, 2025 09:06
This fix is to address the deprecation warning that occurs when running tests.

This solution follows the recommended approach from the Gradle documentation and should resolve the deprecation warning while maintaining the same test functionality.

Signed-off-by: Rob Syme <[email protected]>
Co-authored-by: Tom Sellman <[email protected]>
Signed-off-by: Rob Syme <[email protected]>
Co-authored-by: Tom Sellman <[email protected]>
Signed-off-by: Rob Syme <[email protected]>
@bentsherman
Copy link
Member

Closing in favor of https://github.com/nextflow-io/nf-plugin-template -- feel free to submit a PR there if you are still encountering this issue with the latest plugin template and/or Gradle plugin

@bentsherman bentsherman closed this May 8, 2025
@bentsherman bentsherman deleted the pre-work-tidy branch May 8, 2025 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants