From 4583bfdfbfa4c511530a43924a05405b6efe0d1a Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Tue, 30 Jan 2024 21:13:52 +0800 Subject: [PATCH] Use the latest stable version of `common-gradle-dependencies` --- buildSrc/build.gradle.kts | 2 +- buildSrc/src/main/kotlin/VersionsAndDependencies.kt | 2 +- .../main/kotlin/aligned-version-plugin-conventions.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 1d6a916..6ef7b7f 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -33,5 +33,5 @@ dependencies { // This is a bootstrapping dependency (cross-version self-dependency). Try not to update its version unless necessary. implementation("com.huanshankeji.team:gradle-plugins:0.3.0") { exclude("org.jetbrains.kotlin") } // This is also a bootstrapping dependency. - implementation("com.huanshankeji:common-gradle-dependencies:0.7.1-20231111-SNAPSHOT") { exclude("org.jetbrains.kotlin") } // TODO + implementation("com.huanshankeji:common-gradle-dependencies:0.7.1-20231111") { exclude("org.jetbrains.kotlin") } } diff --git a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt index f1c8bda..0440fdf 100644 --- a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt +++ b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt @@ -13,6 +13,6 @@ val alignedPluginVersion = "0.5.0-SNAPSHOT" val commonGradleDependenciesVersion = "0.7.1-20231111-SNAPSHOT" // This is the source dependency version. There is another build source dependency in "buildSrc/build.gradle.kts". -val pluginProjectDependentStableCommonGradleDependenciesVersion = "0.7.0-20231111".apply { +val pluginProjectSourceDependentStableCommonGradleDependenciesVersion = "0.7.1-20231111".apply { require(!endsWith("SNAPSHOT")) } diff --git a/buildSrc/src/main/kotlin/aligned-version-plugin-conventions.gradle.kts b/buildSrc/src/main/kotlin/aligned-version-plugin-conventions.gradle.kts index 1a6aee4..b8b0bbe 100644 --- a/buildSrc/src/main/kotlin/aligned-version-plugin-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/aligned-version-plugin-conventions.gradle.kts @@ -7,7 +7,7 @@ plugins { version = alignedPluginVersion dependencies { - implementation("com.huanshankeji:common-gradle-dependencies:$pluginProjectDependentStableCommonGradleDependenciesVersion") + implementation("com.huanshankeji:common-gradle-dependencies:$pluginProjectSourceDependentStableCommonGradleDependenciesVersion") } tasks.named>("compileKotlin").configure {