question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

librespot-player as thin JAR

See original GitHub issue

Is your feature request related to a problem? Please describe. I want to integrate the player module in an Android Gradle Project and Android Studio is getting all mixed up due to the librespot-player jar being a fat JAR.

Describe the solution you’d like Please provide the player additionally as a JAR unbundled from its dependencies so that I can let gradle manage the whole dependency graph. I am currently defining my dependency to the player like this: implementation 'xyz.gianlu.librespot:librespot-player:1.5.6-SNAPSHOT'. So maybe it could be something along the lines of implementation 'xyz.gianlu.librespot:librespot-player-thin:1.5.6-SNAPSHOT' to get to the thin JAR.

Describe alternatives you’ve considered I do not see alternatives.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mitschwimmercommented, Apr 19, 2021

@devgianlu as thin as I had hoped for, thanks!

1reaction
devgianlucommented, Apr 18, 2021

I agree. There should be a way to get the thin/skinny jar. The fat jar is useful because one can just download it and run it.

Maven does produce the jar without dependencies during the build process, but I cannot figure out how to push it to nexus separately. If you want you can build locally and then grab it from the target folder. Meanwhile I’ll try to figure out a solution for Maven.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found