2 Star 4 Fork 0

Fu / trinity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
secret.gradle 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Fu 提交于 2021-07-07 13:44 . Initial commit
/*
* Copyright (C) 2019 Trinity. All rights reserved.
* Copyright (C) 2019 Wang LianJie <wlanjie888@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//加载资源
Properties properties = new Properties()
if (project.rootProject.findProject('local.properties') != null) {
hasFile = true
InputStream inputStream = project.rootProject.file('local.properties').newDataInputStream()
properties.load( inputStream )
ext.bintray_key = properties.getProperty('bintray.key')
ext.bintray_user = properties.getProperty('bintray.user')
} else {
ext.bintray_key = System.getenv("bintray.key")
ext.bintray_user = System.getenv("bintray.user")
}
C
1
https://gitee.com/cnki_android/trinity.git
git@gitee.com:cnki_android/trinity.git
cnki_android
trinity
trinity
master

搜索帮助