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

Use jitpack jars and publish shadow jar #736

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Conversation

MrCreosote
Copy link
Member

Javadocs link properly

Also remove ServiceChecker, it's completely unused at this point

Javadocs link properly

Also remove ServiceChecker, it's completely unused at this point
}
// TODO DEPS Need to rework the java common logger to not use syslog4j at all since it's
// abandonware and has a ton of CVEs, even in the newer versions.
implementation "org.syslog4j:syslog4j:0.9.46"
Copy link
Member Author

Choose a reason for hiding this comment

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

AJ wins

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 87.78%. Comparing base (c42c439) to head (00969f8).
Report is 11 commits behind head on dev-gradle2.

Additional details and impacted files
@@                Coverage Diff                @@
##             dev-gradle2     #736      +/-   ##
=================================================
+ Coverage          87.75%   87.78%   +0.02%     
+ Complexity          5333     5328       -5     
=================================================
  Files                229      228       -1     
  Lines              17647    17598      -49     
  Branches            2591     2585       -6     
=================================================
- Hits               15486    15448      -38     
+ Misses              1701     1694       -7     
+ Partials             460      456       -4     

build.gradle Outdated
* here.
* https://github.com/marketplace/actions/deploy-publish-javadoc
* https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry
*/
/* TODO DOCS the current sdk documenation looks like invalid html to javadoc
Copy link
Collaborator

Choose a reason for hiding this comment

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

fingers crossed this will be removed soon anyway, but there's a T missing in documentation

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

implementation 'com.github.ben-manes.caffeine:caffeine:2.9.3'
implementation "com.github.kbase:auth2_client_java:$VER_AUTH2_CLIENT"
implementation("com.github.kbase:handle_service2:1.0.6") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

exciting!

Copy link
Member Author

Choose a reason for hiding this comment

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

IKR?

Comment on lines 71 to 72
When creating an application using the WSS it's advisable to use a build tool
like ``ant``, ``maven``, or ``gradle`` to organize the required jars.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be updated to just recommend gradle?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so, maven should work with jitpack, and you can download the jars for ant or use ivy

@@ -16,6 +16,7 @@ UPDATES:
against Mongo 7.
* Gradle has replaced Ant as the build tool. As a consequence, all the built artifacts are now
located in the build directory, including the ``update_workspace_database_schema`` script.
* A shadow jar is published on jitpack.io for supporting tests in other repos.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a short explanation of what a shadow jar is so people can get the gist without having to google it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added

Comment on lines +89 to +90
final String authUrl = "https://appdev.kbase.us/services/auth/";
final AuthClient authcli = AuthClient.from(new URI(authUrl));
Copy link
Collaborator

Choose a reason for hiding this comment

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

why switch from CI to appdev?

Copy link
Member Author

@MrCreosote MrCreosote Apr 30, 2024

Choose a reason for hiding this comment

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

Because this documentation is targeted at 3rd app developers as well as kbase developers and they're much more likely to have an appdev/prod account than a ci account

@MrCreosote MrCreosote merged commit 8e30e60 into dev-gradle2 Apr 30, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants