代码拉取完成,页面将自动刷新
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)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。