代码拉取完成,页面将自动刷新
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
google()
jcenter()
maven {
url "http://mobilemvn.openserver.cn/repository/Android/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
//Bugly符号表插件
classpath 'com.tencent.bugly:symtabfileuploader:2.2.1'
// tinkersupport插件, 其中lastest.release指拉取最新版本,也可以指定明确版本号,例如1.0.4
classpath "com.tencent.bugly:tinker-support:1.2.0"
//greendao数据库
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
//谷歌服务
classpath 'com.google.gms:google-services:4.0.1'
//使用 Gradle 插件实现Arouter 路由表的自动加载 (可选)
classpath "com.alibaba:arouter-register:1.0.2"
// android aop框架插件
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.8'
}
}
allprojects {
repositories {
//public central仓和jcenter仓的聚合仓
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
mavenCentral()
jcenter()
google()
maven {
url 'https://jitpack.io'
}
//pansoft android 私有仓库
maven {
url "http://mobilemvn.openserver.cn/repository/Android/"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
//华为push
maven { url 'http://developer.huawei.com/repo/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
buildToolsVersion = "28.0.3"
compileSdkVersion = 28
minSdkVersion = 21
targetSdkVersion = 22
supportLibVersion = "28.0.3"
//版本参考 https://developer.android.google.cn/jetpack/androidx/versions/
//与旧版的对应关系 https://developer.android.google.cn/jetpack/androidx/migrate/artifact-mappings
xAppcompatVersion = "1.1.0"
xFragmentVersion = "1.1.0"
xCardViewVersion = "1.0.0"
xRecyclerviewVersion = "1.0.0"
xAnnotationVersion = "1.1.0"
xMultidexVersion = "2.0.1"
xTestVersion = "1.2.0"
xViewpagerVersion = "1.0.0"
xExifinterfaceVersion = "1.0.0"
xLegacyVersion = "1.0.0"
xConstraintlayoutVersion = "1.1.3"
googleMaterialVersion = "1.0.0"
//ARouter注解处理器的版本号
arouterCompilerVersion = "1.2.2"
arouterApiVersion = "1.5.0"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。