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