6.7.0 - Alpha6 - Gradle 构建脚本支持自动生成 VersionCodesList 类所需数据以降低脚本启动延迟

This commit is contained in:
SuperMonster003
2025-10-09 17:12:26 +08:00
parent aa603aac44
commit 0ff16b8ec0
20 changed files with 412 additions and 182 deletions

View File

@@ -1,5 +1,10 @@
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "logic"
include(":convention")
include(":ksp-version-codes-processor")
dependencyResolutionManagement {
repositories {
mavenCentral()
@@ -12,6 +17,20 @@ dependencyResolutionManagement {
}
}
include(":convention")
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version System.getProperty("org.gradle.toolchains.foojay-resolver-convention")
}
}
rootProject.name = "build-logic"
plugins {
// @Hint by SuperMonster003 on Oct 6, 2025.
// ! Enable JDK auto-resolution/download capability for build modules.
// ! zh-CN: 让构建模块具备 JDK 自动解析/下载能力.
id("org.gradle.toolchains.foojay-resolver-convention")
}