IWF-980: [Java SDK] Add instructions for local library testing#302
IWF-980: [Java SDK] Add instructions for local library testing#302
Conversation
|
|
||
| // Custom task to unpublish from local Maven repository | ||
| // Usage: ./gradlew unpublishFromMavenLocal | ||
| task unpublishFromMavenLocal(type: Delete) { |
There was a problem hiding this comment.
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.
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.
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