Java之Gradle將全部依賴一塊兒打包

1.使用shadow插件:com.github.johnrengelman.shadow' version '1.2.3'java plugins { id 'java' id 'com.github.johnrengelman.shadow' version '1.2.3' } 2.在Tasks中找到shadow,雙擊shadowJar便可打包全部依賴git
相關文章
相關標籤/搜索