Android

最简单的方法在Gradle中引入自己的library

2018-03-05  本文已影响0人  BTPJ

1、利用jitpack.io发布项目,参考https://www.jianshu.com/p/9db20aaf932c

2、用以上方法时你会发现引入后点击进入引入的类,并未关联源码,参考:https://www.cnblogs.com/why168888/p/6110987.html

注意:项目目录下的gradle-wrapper下的gradle-wrapper.jar和gradle-wrapper.properties一定也要上传到github不能添加到ignore
项目目录下的gradle-wrapper下的gradle-wrapper.jar和gradle-wrapper.properties一定也要上传到github不能添加到ignore
项目目录下的gradle-wrapper下的gradle-wrapper.jar和gradle-wrapper.properties一定也要上传到github不能添加到ignore

重要的事情说三遍

上一篇下一篇

猜你喜欢

热点阅读