2 Star 0 Fork 0

rodney85/IM-chat-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
chengww5217 提交于 2021-08-20 18:35 . chore: Release 3.6.6
import java.text.SimpleDateFormat
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'script.gradle', to: buildscript
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'http://developer.huawei.com/repo/' }
maven { url "https://jitpack.io" }
google()
}
}
ext {
compileSdkVersion = 29
buildToolsVersion = '29.0.3'
minSdkVersion = 19
targetSdkVersion = 28
appTargetSdkVersion = 28
versionCode = 14
versionName = '3.6.6'
sdkSourceCompatibility = 1.8
sdkTargetCompatibility = 1.8
appSourceCompatibility = 1.8
appTargetCompatibility = 1.8
nimOutputDir = "nim-outputs-${versionName}-${getBuildTime()}-${getGitVersion()}"
//参考other-sdks 下的版本, 严格按照绑定的NRTC 版本来 ,使用 fetch_nrtc.sh 更新NRTC时会自动修改
nosSdkVersion = '1.0.1'
reportSdkVersion = '2.0.1'
}
static def getGitVersion() {
try {
return 'git rev-parse --short HEAD'.execute().text.trim()
} catch (Throwable th) {
th.printStackTrace()
return ""
}
}
static def getBuildTime() {
Date date = new Date()
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd")
return simpleDateFormat.format(date)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/bjrd/im-chat-android.git
git@gitee.com:bjrd/im-chat-android.git
bjrd
im-chat-android
IM-chat-android
master

搜索帮助