Skip to content
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

Linkage Checker Gradle plugin instruction to depend on the build phase #2175

Open
suztomo opened this issue Aug 11, 2021 · 1 comment
Open
Labels
enhancement New feature or request p3

Comments

@suztomo
Copy link
Contributor

suztomo commented Aug 11, 2021

As of now, the plugin documentation doesn't add any task dependency.

https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/Linkage-Checker-with-Gradle

However linkageCheck task expects the project's JAR file built before running it. Therefore it should depend on "build" task.

@dzou dzou added enhancement New feature or request p3 labels Aug 11, 2021
@suztomo
Copy link
Contributor Author

suztomo commented Aug 11, 2021

For now, I updated the documentation

// Run build task first to generate JAR file of this project
linkageCheck.dependsOn('build')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p3
Projects
None yet
Development

No branches or pull requests

2 participants