加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
钎凨 提交于 2023-06-26 18:12 . jdk 调整为7
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven { url "https://jcenter.bintray.com" }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://maven.aliyun.com/repository/central" }
}
dependencies {
//noinspection AndroidGradlePluginVersion
classpath "com.android.tools.build:gradle:4.2.1"
}
}
allprojects {
repositories {
maven { url "https://jcenter.bintray.com" }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://maven.aliyun.com/repository/central" }
maven { url 'https://jitpack.io' } //github
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
//*版本配置
minSdkVersion = 24
compileSdkVersion = 31
buildToolsVersion = "30.0.3"
targetSdkVersion = compileSdkVersion
///指定jdk版本
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = sourceCompatibility
appCompatVersion = "1.4.1"
constraintlayout = "2.0.4"
swiperefreshlayout = "1.2.1"
recyclerview = "1.2.1"
material = "1.5.0"
//
coreLib = "1.8.2"
uiLib = "3.2.4"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化