在the site上的信息是mavenLocal位于
Linux / Mac:〜/ .m2
但是当我尝试在管道上执行命令
#Make publish lib to mavenLocal
./gradlew mylib:publishToMavenLocal
#Trying to zip results of publishToMavenLocal command
tar -czvf mavenLocal.tar.gz -C ~/.m2
错误是
+ tar -czvf mavenLocal.tar.gz -C ~/.m2
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.