build: 升级到 Java 17 并配置国内镜像
- 修改 sourceCompatibility 和 targetCompatibility 到 VERSION_17 - 添加阿里云镜像仓库以加速依赖下载 - 优化 gradle.properties 配置(并行构建、内存设置) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
81855239d2
commit
953815e400
3 files changed
+33
-2
No files matched your search
@@ -1,6 +1,9 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
@@ -11,6 +14,8 @@ buildscript {
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user