加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
qgqaqgqa 提交于 2021-06-17 10:21 . 优化代码
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
google()
jcenter()
maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'https://dl.bintray.com/umsdk/release' }
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath Deps.kotlin_gradle_plugin
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.15'
classpath Deps.greendao_gradle_plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1'
// classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// classpath "com.mob.sdk:MobSDK:2018.0319.1724"
// classpath 'com.android.tools.build:gradle:4.0.2'
}
}
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
maven { url "http://maven.aliyun.com/nexus/content/repositories/releases" }
maven { url "https://maven.aliyun.com/nexus/content/repositories/releases" }
maven {url 'https://dl.bintray.com/jetbrains/anko'}
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url 'http://4thline.org/m2' }
flatDir { dirs 'libs','src/main/libs','../libs' }
maven {
credentials {
username 'iqLuKm'
password 'pomH01oYcR'
}
url 'https://repo.rdc.aliyun.com/repository/117933-release-sPkE7F/'
}
google()
jcenter()
maven { url "https://jitpack.io" }
}
configurations.all {
resolutionStrategy.cacheDynamicVersionsFor 1, 'seconds'
resolutionStrategy {
force Deps.glide
force Deps.glide_complier
force Deps.glide_annotations
}
}
}
ext {
proguard = true
rootPrj = "$projectDir/.."
ndkAbi = 'armeabi-v7a'//,'armeabi', 'armeabi-v7a', 'arm64-v8a'
noffmpeg = false
noijkplay = false
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//Build Output乱码解决
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化