csmijo's notes

路漫漫其修远兮,吾将上下而求索


  • 首页

  • 归档

  • 标签

  • 分类

发布Android Library项目到JCenter

发表于 2017-03-21 | 分类于 Android , 杂类 | 阅读次数

将自己写好的Android Library项目(即aar包)上传到公共的JCenter仓库,这样让其他人更方面的使用。目前JCenter仓库支持maven,gradle,Ivy三种方式。

1. 本地环境

  使用环境以及插件版本的不同可能造成上传失败,所以先说明一下我使用的环境信息:

  • Android Studio 2.2
  • Gradle 2.2.0
  • android-maven-gradle-plugin插件: 1.5版本 (具体请看下面使用)
  • gradle-bintray-plugin插件: 1.6 版本

2. 注册账号

  首先需要在 http://bintray.com/ 注册一个账号(自备梯子),或者使用github账号登录也可以。

  注册完成后,在个人 [edit profile](https://bintray.com/profile/edit) 页面里找到API Key,后面会用到这个 API Key。

阅读全文 »

Hello World

发表于 2017-03-20 | 分类于 小工具 | 阅读次数

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

阅读全文 »
123
csmijo

csmijo

测试开发 | Android

22 日志
9 分类
28 标签
GitHub 简书
© 2016 - 2017 csmijo
由 Hexo 强力驱动
主题 - NexT.Pisces