Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
NotesChapter
GSYVideoPlayer
提交
bdb628b1
G
GSYVideoPlayer
项目概览
NotesChapter
/
GSYVideoPlayer
与 Fork 源项目一致
从无法访问的项目Fork
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
GSYVideoPlayer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bdb628b1
编写于
11月 14, 2016
作者:
S
shuyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add id to jcenter
上级
4dee98de
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
131 addition
and
3 deletion
+131
-3
.gitignore
.gitignore
+1
-0
bintray.gradle
bintray.gradle
+104
-0
build.gradle
build.gradle
+4
-2
gradle.properties
gradle.properties
+18
-0
gsyVideoPlayer/build.gradle
gsyVideoPlayer/build.gradle
+4
-1
未找到文件。
.gitignore
浏览文件 @
bdb628b1
...
...
@@ -7,3 +7,4 @@
/captures
.externalNativeBuild
*.apk
keyid
\ No newline at end of file
bintray.gradle
0 → 100644
浏览文件 @
bdb628b1
group
=
PROJ_GROUP
version
=
PROJ_VERSION
project
.
archivesBaseName
=
PROJ_ARTIFACTID
apply
plugin:
'com.jfrog.bintray'
apply
plugin:
'com.github.dcendents.android-maven'
task
sourcesJar
(
type:
Jar
)
{
from
android
.
sourceSets
.
main
.
java
.
srcDirs
classifier
=
'sources'
}
task
javadoc
(
type:
Javadoc
)
{
source
=
android
.
sourceSets
.
main
.
java
.
srcDirs
classpath
+=
configurations
.
compile
classpath
+=
project
.
files
(
android
.
getBootClasspath
().
join
(
File
.
pathSeparator
))
}
task
javadocJar
(
type:
Jar
,
dependsOn:
javadoc
)
{
classifier
=
'javadoc'
from
javadoc
.
destinationDir
}
javadoc
{
options
{
encoding
"UTF-8"
charSet
'UTF-8'
author
true
version
true
links
"http://docs.oracle.com/javase/7/docs/api"
title
"$PROJ_NAME $PROJ_VERSION"
}
}
artifacts
{
archives
sourcesJar
archives
javadocJar
}
install
{
repositories
.
mavenInstaller
{
pom
.
project
{
name
PROJ_NAME
description
PROJ_DESCRIPTION
url
PROJ_WEBSITEURL
inceptionYear
'2016'
packaging
'aar'
groupId
PROJ_GROUP
artifactId
PROJ_ARTIFACTID
version
PROJ_VERSION
licenses
{
license
{
name
'The Apache Software License, Version 2.0'
url
'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution
'repo'
}
}
scm
{
connection
PROJ_VCSURL
url
PROJ_WEBSITEURL
}
developers
{
developer
{
id
DEVELOPER_ID
name
DEVELOPER_NAME
email
DEVELOPER_EMAIL
}
}
}
}
}
bintray
{
user
=
project
.
hasProperty
(
'bintrayUser'
)
?
project
.
property
(
'bintrayUser'
)
:
project
.
property
(
'BINTRAY_USER'
)
key
=
project
.
hasProperty
(
'bintrayKey'
)
?
project
.
property
(
'bintrayKey'
)
:
project
.
property
(
'BINTRAY_KEY'
)
configurations
=
[
'archives'
]
dryRun
=
false
publish
=
true
pkg
{
userOrg
=
PROJ_USER_ORG
//这个是你创建时的organization,必须要有,不然没办法找到指定路径
repo
=
PROJ_USER_MAVEN
name
=
PROJ_NAME
licenses
=
[
'Apache-2.0'
]
vcsUrl
=
PROJ_VCSURL
websiteUrl
=
PROJ_WEBSITEURL
issueTrackerUrl
=
PROJ_ISSUETRACKERURL
publicDownloadNumbers
=
true
version
{
name
=
PROJ_VERSION
desc
=
PROJ_DESCRIPTION
vcsTag
=
PROJ_VERSION
gpg
{
sign
=
true
}
}
}
}
build.gradle
浏览文件 @
bdb628b1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply
from:
'dependencies.gradle'
buildscript
{
repositories
{
jcenter
()
...
...
@@ -8,8 +9,9 @@ buildscript {
dependencies
{
classpath
'com.android.tools.build:gradle:2.2.2'
classpath
'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath
'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
}
}
...
...
gradle.properties
浏览文件 @
bdb628b1
...
...
@@ -15,3 +15,21 @@ 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_KEY
=
PROJ_GROUP
=
com.shuyu
PROJ_VERSION
=
1.1.0
PROJ_NAME
=
gsyVideo
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
DEVELOPER_ID
=
guo
DEVELOPER_NAME
=
guoshuyu
DEVELOPER_EMAIL
=
359369982@qq.com
gsyVideoPlayer/build.gradle
浏览文件 @
bdb628b1
apply
plugin:
'com.android.library'
apply
plugin:
'com.neenbedankt.android-apt'
android
{
def
globalConfiguration
=
rootProject
.
extensions
.
getByName
(
"ext"
)
...
...
@@ -8,7 +9,7 @@ android {
defaultConfig
{
minSdkVersion
globalConfiguration
.
androidMinSdkVersion
minSdkVersion
globalConfiguration
.
androidMinSdkVersion
targetSdkVersion
globalConfiguration
.
androidTargetSdkVersion
versionCode
1
...
...
@@ -40,3 +41,5 @@ dependencies {
compile
androidDependencies
.
cardview_v7
compile
androidDependencies
.
design
}
apply
from:
'../bintray.gradle'
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录