-
Notifications
You must be signed in to change notification settings - Fork 9
IWF-980: [Java SDK] Add instructions for local library testing #302
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
Conversation
|
|
||
| // Custom task to unpublish from local Maven repository | ||
| // Usage: ./gradlew unpublishFromMavenLocal | ||
| task unpublishFromMavenLocal(type: Delete) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maven does not include a unpublish local option, and you'd have to manually remove them from a folder. Added a custom task to make this process easier 😄
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #302 +/- ##
============================================
+ Coverage 72.54% 72.63% +0.09%
- Complexity 462 511 +49
============================================
Files 70 70
Lines 1894 2043 +149
Branches 173 199 +26
============================================
+ Hits 1374 1484 +110
- Misses 424 437 +13
- Partials 96 122 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
README.md
Outdated
| ``` | ||
| ./gradlew publishToMavenLocal -x signMavenJavaPublication | ||
| ``` | ||
| 2. In the [samples](https://github.com/indeedeng/iwf-java-samples) repo, make sure your `build.gradle` depends on the same version you just published, then run: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a dump question, but how do you know what the version is you just published. Whenever we used publocal it would be something like local-the date-library name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. Here, you'd open build.gradle and then see what is in the version variable to find which is the version you just published locally. I'll add this info in the README.
Description
Add instructions for local library testing
Checklist