提交 c88d8fc6 编写于 作者: S shuyu

add jcenter

上级 21055ff0
......@@ -25,11 +25,25 @@
* **弹幕支持**
[![](https://jitpack.io/v/CarGuo/GSYVideoPlayer.svg)](https://jitpack.io/#CarGuo/GSYVideoPlayer)
[ ![Download](https://api.bintray.com/packages/carguo/GSYVideoPlayer/gsyVideoPlayer/images/download.svg) ](https://bintray.com/carguo/GSYVideoPlayer/gsyVideoPlayer/_latestVersion)
[![Build Status](https://travis-ci.org/CarGuo/GSYVideoPlayer.svg?branch=master)](https://travis-ci.org/CarGuo/GSYVideoPlayer)
## 使用依赖
#### 在project下的build.gradle添加
#### Jcenter
```
<dependency>
<groupId>com.shuyu</groupId>
<artifactId>GSYVideoPlayer</artifactId>
<version>1.6.0</version>
<type>pom</type>
</dependency>
```
```
compile 'com.shuyu:GSYVideoPlayer:1.6.0'
```
#### 使用JitPack 在project下的build.gradle添加
```
allprojects {
repositories {
......
......@@ -83,7 +83,7 @@ bintray {
publish = true
pkg {
userOrg = PROJ_USER_ORG //这个是你创建时的organization,必须要有,不然没办法找到指定路径
//userOrg = PROJ_USER_ORG //这个是你创建时的organization,必须要有,不然没办法找到指定路径
repo = PROJ_USER_MAVEN
name = PROJ_NAME
licenses = ['Apache-2.0']
......
......@@ -15,18 +15,17 @@ org.gradle.jvmargs=-Xmx1536m
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
BINTRAY_USER=
BINTRAY_USER=carguo
BINTRAY_KEY=
PROJ_GROUP=com.shuyu
PROJ_VERSION=1.4.2
PROJ_NAME=gsyVideo
PROJ_VERSION=1.6.0
PROJ_NAME=gsyVideoPlayer
PROJ_WEBSITEURL=hhttps://github.com/CarGuo/GSYVideoPlayer
PROJ_ISSUETRACKERURL=
PROJ_VCSURL=git@github.com:CarGuo/GSYVideoPlayer.git
PROJ_DESCRIPTION=android video player
PROJ_ARTIFACTID=gsyVideoPlayer
PROJ_USER_ORG=guoshuyu
PROJ_USER_MAVEN=gsyVideo
PROJ_ARTIFACTID=GSYVideoPlayer
PROJ_USER_MAVEN=GSYVideoPlayer
DEVELOPER_ID=guo
DEVELOPER_NAME=guoshuyu
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册