File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,8 +260,9 @@ https://github.com/jbruchanov/AndroidColorPicker
260260![ 地址选择器效果图] ( /screenshots/address.gif )
261261![ 地址选择器效果图] ( /screenshots/address.png )
262262![ 数字选择器效果图] ( /screenshots/number.gif )
263- ![ 星座选择器效果图] ( /screenshots/constellation.jpg )
264- ![ 颜色选择器效果图] ( /screenshots/color.gif )
263+ ![ 星座选择器效果图] ( /screenshots/constellation.gif )
264+ ![ 生肖选择器效果图] ( /screenshots/chinesezodiac.jpg )
265+ ![ 颜色选择器效果图] ( /screenshots/color.gif )
265266![ 文件选择器效果图] ( /screenshots/file.gif )
266267![ 目录选择器效果图] ( /screenshots/dir.gif )
267268
Original file line number Diff line number Diff line change @@ -180,10 +180,10 @@ subprojects {
180180 }
181181
182182 bintray {
183- // You should configure "bintray.user" and "bintray.apiKey" in the gradle.properties
184- // that in gradle cache directory
185- user = safeGetProperty (" bintray.user" )
186- key = safeGetProperty (" bintray.apikey" )
183+ Properties properties = new Properties ()
184+ properties . load(project . rootProject . file( ' local.properties ' ) . newDataInputStream())
185+ user = properties . getProperty (" bintray.user" )
186+ key = properties . getProperty (" bintray.apikey" )
187187
188188 publications = [' mavenJava' ]
189189 publish = true // 是否发布
@@ -202,14 +202,9 @@ subprojects {
202202 desc = project. pomDescription
203203 gpg {
204204 sign = false // 是否GPG签名,可使用Gpg4win创建密钥文件
205- // GPG签名所用密钥
206- passphrase = safeGetProperty(" bintray.gpg.password" )
207205 }
208206 mavenCentralSync {
209207 sync = false // 是否同步到Maven Central
210- user = safeGetProperty(" sonatype.user" ) // sonatype用户名
211- password = safeGetProperty(" sonatype.password" ) // sonatype密码
212- close = ' 1'
213208 }
214209 }
215210 }
@@ -220,7 +215,3 @@ subprojects {
220215 }
221216}
222217
223- String safeGetProperty (String key ) {
224- hasProperty(" key" ) ? getProperty(" key" ) : " "
225- }
226-
You can’t perform that action at this time.
0 commit comments