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

Publish shadow jar #437

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Publish shadow jar #437

merged 1 commit into from
Apr 25, 2024

Conversation

MrCreosote
Copy link
Member

No description provided.

@MrCreosote MrCreosote requested a review from Xiangs18 April 24, 2024 23:00
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.37%. Comparing base (5a8528c) to head (ed2ceca).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #437   +/-   ##
==========================================
  Coverage      93.37%   93.37%           
  Complexity      2144     2144           
==========================================
  Files            126      126           
  Lines           7531     7531           
  Branches        1178     1178           
==========================================
  Hits            7032     7032           
  Misses           456      456           
  Partials          43       43           

Comment on lines -135 to -142
def fromURL = { url, name ->
File file = new File("$buildDir/download/${name}.jar")
file.parentFile.mkdirs()
if (!file.exists()) {
new URL(url).withInputStream { downloadStream ->
file.withOutputStream { fileOut ->
fileOut << downloadStream
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This part is replaced by JitPack?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just not needed any more, since all the jars can now be pulled from a maven repository rather than downloaded from some random location

Copy link
Collaborator

@Xiangs18 Xiangs18 left a comment

Choose a reason for hiding this comment

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

LGTM!

@MrCreosote MrCreosote merged commit b93fdd8 into develop Apr 25, 2024
9 checks passed
@MrCreosote MrCreosote deleted the dev-publish_shadow branch April 25, 2024 19:08
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.

2 participants