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

scope 为 test 的依赖会如何影响 sofaark 的打包 #1066

Open
cwbhhjl opened this issue Feb 21, 2025 · 1 comment
Open

scope 为 test 的依赖会如何影响 sofaark 的打包 #1066

cwbhhjl opened this issue Feb 21, 2025 · 1 comment

Comments

@cwbhhjl
Copy link

cwbhhjl commented Feb 21, 2025

我们有一个程序,打出来的 ark jar 包 lib 里有 130 个 jar,然后因为某些原因我们依赖一个很重的 jar 包,但是 scope 是 test,这时 ark jar 包 lib 里有 200 个 jar,有一些间接依赖被打进去了,这种情况原因是什么,应该如何排查呢

@lvjing2
Copy link
Collaborator

lvjing2 commented Mar 3, 2025

https://koupleless.io/docs/tutorials/module-development/module-slimming/

可以用新的模块瘦身方式

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

No branches or pull requests

2 participants