-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Request for Dependency Management Enhancement in ktor-server-task-scheduling #30
Comments
Hi, |
Hi Guys, thanks for your input, and sorry for the late response @tb-kpabla @Szczypiorek44 could you please share more details, like which jars are conflicting? I am using the gradle shadow plugin, perhaps i missed some config In any case, did you try using the various solutions gradle offers? |
Hi @Flaxoos
So basically when I include your library in my project it should inform gradle in my project which dependencies your library requires and gradle should resolve and download them. This is not happening because they are compiled in the jar. In my project I'm also using
|
@Szczypiorek44 Thanks for the info, i'll make a ticket for it, i think it's probably solvable with a simple Shade plugin config. BTW, you're welcome to also contribute to the repo by creating a PR to fix this, as i'm currently the only maintainer, so help would be appreciated :) |
@Szczypiorek44 I'm on it. Could you maybe please provide a minimal reproduction of the issue so i can validate it? |
Sure. All I did was I've created new project in Android Studio, and in my
That's it, it should be enough to recreate the issue.
|
If you'll have a problem with recreating the issue let me know, then I'll give you access to my repo |
@Szczypiorek44 Ok i'm removing the fat jar, this should solve the issue. there is a dependencyt on another lib of mine though, that is not yet hosted on maven central, and only on GH packages, which doesn't offer open read access, so i will need to host it on central which might take a few days. in the meantime i can add it to this repository |
- removed shadow usage - using published redis client
- removed redis client project form settings
@Szczypiorek44 i just released a new version, 1.2.10, can you please try it and see if your issue is solved? |
Hi @Flaxoos , sorry for the late reply. Unfortunately, issue still persists:
|
@Szczypiorek44 Fix is in #61 |
Hi @Flaxoos |
Hi Flaxoos,
I've encountered a small issue and would like to suggest a possible enhancement. Currently, the library bundles all its dependencies into the jar file. This approach, while self-contained, leads to a significant issue with Gradle in my project as it flags every single class as duplicated due to the bundled dependencies and refuses to compile.
Would it be possible to consider adding another build configuration that lets Gradle handle the transitive dependencies at build time instead? This change would help avoid the duplication issue and let us use this library in our project.
Thank you for considering this suggestion.
Looking forward to your thoughts.
The text was updated successfully, but these errors were encountered: