8 Star 55 Fork 34

WorkPlus Lite/w6s_lite_android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
dasunsy 提交于 2022-11-17 18:35 . chore: 解决编译问题
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'buildConfig/w6s-build.gradle'
apply from: 'buildConfig/w6s-version.gradle'
repositories {
google()
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'https://developer.huawei.com/repo/' }
maven { url "https://repo1.maven.org/maven2/" }
maven { url "https://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases/' }
maven {url 'https://developer.huawei.com/repo/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
// classpath 'me.tatarka:gradle-retrolambda:3.7.0'
classpath 'com.tencent.bugly:symtabfileuploader:2.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlinVersion}"
classpath "com.tencent.bugly:tinker-support:1.1.5"
//cloudwise 配置
if (enableCloudwise){
classpath 'com.cloudwise.mobile.android.plugins:cloudwise-gradle-plugin:1.6.0'
}
//听云配置
if(enableTingyun) {
classpath 'com.networkbench.newlens.agent.android:agent-gradle-plugin:2.13.3'
}
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlinVersion}"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1"
if (enableWangsuSce) {
classpath fileTree(dir: 'dependencies/speedUp/wangsuSce/plugin', include: ['*.jar'])
}
classpath 'com.huawei.agconnect:agcp:1.2.1.301'
if (enableDoraemonkit) {
classpath 'com.didichuxing.doraemonkit:doraemonkit-plugin:3.1.8'
}
}
}
repositories {
mavenCentral()
}
allprojects {
repositories {
google()
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'https://developer.huawei.com/repo/' }
maven { url "https://repo1.maven.org/maven2/" }
maven { url "https://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases/' }
maven {url 'https://developer.huawei.com/repo/'}
}
}
//this.project.subprojects { sub ->
//
// sub.beforeEvaluate { project
// println "#### Evaluate before of "+project.path + " flavor: " + getCurrentFlavor()
//
// }
//}
gradle.beforeProject { p ->
println("Evaluation beforeProject2"+p)
}
project.afterEvaluate { pro ->
assembleHuaweiAgconnectServices()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/workplus-lite/w6s_lite_android.git
git@gitee.com:workplus-lite/w6s_lite_android.git
workplus-lite
w6s_lite_android
w6s_lite_android
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891