build: 升级到 Java 17 并配置国内镜像

- 修改 sourceCompatibility 和 targetCompatibility 到 VERSION_17
- 添加阿里云镜像仓库以加速依赖下载
- 优化 gradle.properties 配置(并行构建、内存设置)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
hughhuangandClaude Sonnet 4.5 committed 2026-01-22 00:49:57 +08:00
1 parent 81855239d2
commit 953815e400
3 files changed
+33 -2

No files matched your search

+5
View File
@@ -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()
}