加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
黑白辩思 提交于 2021-04-26 18:55 . 接入好兔视频
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.3.72"
ext.YL_SDK_VERSION = "3.3.2.4"
repositories {
maven { url "https://mirrors.tencent.com/repository/maven/tencent_public"}
maven {url 'http://developer.huawei.com/repo/'}
google()
jcenter()
//必须添加
maven { url "https://jitpack.io" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
classpath "com.android.tools.build:gradle:4.0.0"
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
classpath 'com.huawei.agconnect:agcp:1.3.1.300'
//多渠道打包插件
classpath 'com.leon.channel:plugin:2.0.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
// 支付宝 SDK AAR 包所需的配置
flatDir {
dirs 'libs'
}
google()
maven { url "https://jitpack.io" }
jcenter()
//添加阿里云maven地址
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
maven { url 'http://developer.huawei.com/repo/'}
maven { url "https://mirrors.tencent.com/repository/maven/tencent_public"}
maven { url "https://mirrors.tencent.com/repository/maven/liteavsdk" }
maven { url "https://mirrors.tencent.com/nexus/repository/maven-public/" }
maven { url 'http://nexus.1lan.tv/repository/maven-releases/'}
}
}
ext {
compileSdkVersion = 28
minSdkVersion = 21
targetSdkVersion = 28
versionCode = 1
versionName = "5.1.10"
abiFilters = ['armeabi-v7a'] //['armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
arguments = "-DANDROID_STL=c++_static"
cppFlags = "-std=c++11"
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化