gradle打包命令 gradlew clean 清理 gradlew clean build -x test --refresh-dependencies
离线方式:
gradlew --offline clean build -x test --refresh-dependencies
gradlew --offline:离线模式,即让Gradle只使用本地cache里的依赖,如果cache中没有也不会更新依赖,而是提示编译失败。
gradlew.bat clean build -x test :util-test:test-commons:publish F:sts4order-test>gradlew :order-test-api:dependencies >> bb.txt
F:sts4order-test>gradlew :order-test-api:dependencies >> bb123.txt F:sts4order-test>gradlew :util-test:test-commons:dependencies >> cc123.txt 多模块之间使用冒号分隔