Files
yinmeng-android/build.gradle

40 lines
1.1 KiB
Groovy
Raw Normal View History

2020-04-02 10:43:40 +08:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
println "\n\n\n"
println '当前选择版本 Version Name'+ version_name
println '当前选择版本 Version Code'+ Integer.valueOf(version_code)
println "\n\n\n"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
//realm 数据库插件
classpath "io.realm:realm-gradle-plugin:5.3.0"
// android 资源混淆插件
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.15'
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url "http://mvn.mob.com/android" }
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url 'https://dl.bintray.com/linkedme2016/lkme-deeplinks' }
maven { url 'http://developer.huawei.com/repo/'}
}
//网络慢的话就去 https://maven.aliyun.com/mvn/view 里面找个代理的仓库。
}
task clean(type: Delete) {
delete rootProject.buildDir
}