模仿慕课网一步步发布一个开源库到 JCenter
2024-09-04 13:57:21
H:\common\-common-25.2.2\upload.gradle
// Bintray
/*
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream()) bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
println user
println key configurations = ['archives']
pkg {
repo = bintrayRepo
name = bintrayName
desc = libraryDescription
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = allLicenses
publish = true
publicDownloadNumbers = true
version {
desc = libraryDescription
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = properties.getProperty("bintray.gpg.password")
//Optional. The passphrase for GPG signing'
}
}
}
}
*/
H:\common\-common-25.2.2\common-25.2.2\upload.gradle
// Bintray
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
println user
println key
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
println user
println key
configurations = ['archives']
pkg {
repo = bintrayRepo
name = bintrayName
desc = libraryDescription
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = allLicenses
publish = true
publicDownloadNumbers = true
version {
desc = libraryDescription
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = properties.getProperty("bintray.gpg.password")
//Optional. The passphrase for GPG signing'
}
}
}
}
pkg {
repo = bintrayRepo
name = bintrayName
desc = libraryDescription
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = allLicenses
publish = true
publicDownloadNumbers = true
version {
desc = libraryDescription
gpg {
sign = true //Determines whether to GPG sign the files. The default is false
passphrase = properties.getProperty("bintray.gpg.password")
//Optional. The passphrase for GPG signing'
}
}
}
}
H:\common\-common-25.2.2\local.properties
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Dec 10 07:59:28 CST 2018
ndk.dir=H\:\\heimaandroidadt\\adt-bundle-windows-x86_64_20140101\\adt-bundle-windows-x86_64_20140101\\sdk\\ndk9d
sdk.dir=H\:\\heimaandroidadt\\adt-bundle-windows-x86_64_20140101\\adt-bundle-windows-x86_64_20140101\\sdk
最新文章
- mono for android Json 上传文件
- 第五百七十八、九天 how can I 坚持
- What to call your Academic Event
- BZOJ 1600
- Java Performance - 如何调查解决内存问题
- 将UIImage保存成JPG或PNG格式存储在本地
- FMDB警告Warning: there is at least one open result set around after performing的问题
- 关于本地$.get(url,function(data)),异步获取数据
- ToString()的浅显解释(转)
- Python 内置函数汇总
- [Nginx]-外部多端口映射Https443端口配置
- GRUB与Linux系统修复(第二版)
- 【高速接口-RapidIO】6、Xilinx RapidIO核仿真与包时序分析
- c#高级编程第七版 学习笔记 第二章 核心c#
- pytest十一:函数传参和 firture 传参数 request
- Delphi: TLabel设置EllipsisPosition属性用...显示过长文本时,以Hint显示其全文本
- Unity优化----drawcall系列
- css选择器(第n个类选择器)的坑
- UITouch 的主要方法:
- 20155305乔磊2016-2017-2《Java程序设计》第一周学习总结