Files
peko-android/build.gradle
2020-07-06 18:38:23 +08:00

43 lines
1.2 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.61'
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.6.2'
//realm 数据库插件
classpath "io.realm:realm-gradle-plugin:5.3.0"
// android 资源混淆插件
classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.15'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
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
}