jcenter 上传
This commit is contained in:
@@ -3,7 +3,7 @@ version = PROJ_VERSION
|
||||
project.archivesBaseName = PROJ_ARTIFACT_ID
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
//输入:gradlew bintrayupload 执行
|
||||
//输入:gradlew bintray 执行
|
||||
|
||||
//############################## jar、sources、doc 打包 start #######################################
|
||||
task sourcesJar(type: Jar) {
|
||||
@@ -75,9 +75,10 @@ artifacts {
|
||||
|
||||
//################################# jcenter 上传配置 start #########################################
|
||||
bintray {
|
||||
user = hasProperty("bintrayUser") ? getProperty("bintrayUser") : getProperty("BINTRAY_USER")
|
||||
key = hasProperty("bintrayKey") ? getProperty("bintrayKey") : getProperty("BINTRAY_KEY")
|
||||
|
||||
// user = hasProperty("bintrayUser") ? getProperty("bintrayUser") : getProperty("BINTRAY_USER")
|
||||
// key = hasProperty("bintrayKey") ? getProperty("bintrayKey") : getProperty("BINTRAY_KEY")
|
||||
user = BINTRAY_USER
|
||||
key = BINTRAY_KEY
|
||||
configurations = ['archives']
|
||||
|
||||
pkg {
|
||||
|
Reference in New Issue
Block a user