Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的配置中,我有:
shadowJar { minimize() archiveName = "fat.jar" }
当我做 fatjar 时,shadowJar 不包含我mystdeim 在文档中找到的包中的代码,我可以强制排除一些依赖项来最小化exclude(dependency('io.*:.*:.*')),但是如何从最小化任务中排除我的代码?
mystdeim
exclude(dependency('io.*:.*:.*'))