代码拉取完成,页面将自动刷新
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
maven {
url 'https://maven.aliyun.com/repository/public'
}
google()
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'https://jitpack.io' }
}
dependencies {
//最低支持的gradle版本是6.1.1
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven {
url 'https://maven.aliyun.com/repository/public'
}
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
arouter_compiler_version = "1.5.1"
arouter_api_version = "1.5.1"
dependenciesID = [
"appcompat" : "androidx.appcompat:appcompat:1.2.0",
"material" : "com.google.android.material:material:1.2.1",
"constraintlayout": "androidx.constraintlayout:constraintlayout:2.0.4",
"recyclerview" : "androidx.recyclerview:recyclerview:1.1.0",
"arouterApi" : "com.alibaba:arouter-api:${arouter_api_version}",
"arouterCompiler" : "com.alibaba:arouter-compiler:${arouter_compiler_version}",
"fragment" : "androidx.fragment:fragment:1.1.0",
"autoservice" : "com.google.auto.service:auto-service:1.0.1"
]
sdkID = [
"compileSdkVersion": 30,
"buildToolsVersion": "30.0.3",
"minSdkVersion" : 21,
"targetSdkVersion" : 30
]
okhttpVersion = "3.14.9"
retrofitVersion = "2.9.0"
glideVersion = "4.10.0"
gsonVersion = "2.8.7"
workVersion = "2.6.0"
navigationVersion = "2.3.1"
materialVersion = "1.2.1"
//true 表示各组件共同构成一个应用, false表示各组件可单独成为应用
isRunTotalApp = true
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。