Git Product home page Git Product logo

cmmi3's Introduction

dlshare

Here I come, I am dlshare.

一个用于介绍项目分享经验及过程中遇到的坑的地方,教你快速实现将你的lib分享到Jcenter

1.修改github名

准备在github上分享自己的代码了,准备让大家认识自己了,github名字不好听怎么办?去改。
http://blog.csdn.net/yangyangzhang1990/article/details/45869215

2.上传源码、提交更新到github

分享中若遇到问题,查看一下代码版本管理工具是否为git如下图 image 使用AndroidStudio创建好一个准备分享的项目,按照下面操作步骤 http://www.jianshu.com/p/d995d263549c

  1. 成功将源代码上传到github
  2. 提交修改成功,更新成功

3.Mac 安装jdk1.8.0_131

为什么非要安装jdk8呢?因为接下来会使用bintray-release插件来发布自己的lib库到Jcenter,
在执行命令提交的时候报错:UnsupportedClassVersionError

  1. 解决AndroidStudio出现UnsupportedClassVersionError http://www.jianshu.com/p/a591c7ae6872
  2. Mac终端命令大全 http://www.jianshu.com/p/3291de46f3ff
  3. jdk下载 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  4. 成功安装 image

4. 使用bintray-release上传library到Jcenter

bintray-release项目github地址: https://github.com/novoda/bintray-release
Android快速发布开源项目到Jcenter http://blog.csdn.net/lmj623565791/article/details/51148825

5. 编写README.md介绍项目

http://wowubuntu.com/markdown/basic.html
http://wowubuntu.com/markdown/index.html
http://blog.csdn.net/kaitiren/article/details/38513715

6. 中途遇到的坑

cmmi3's People

Contributors

dlshare avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.