Skip to content

Commit

Permalink
Merge branch 'dependent-on-bootstrapping-snapshots'
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Jan 30, 2024
2 parents eca744e + 4583bfd commit 45fe205
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-20231111") { exclude("org.jetbrains.kotlin") }
implementation("com.huanshankeji:common-gradle-dependencies:0.7.1-20231111") { exclude("org.jetbrains.kotlin") }
}
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/VersionsAndDependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
version = alignedPluginVersion

dependencies {
implementation("com.huanshankeji:common-gradle-dependencies:$pluginProjectDependentStableCommonGradleDependenciesVersion")
implementation("com.huanshankeji:common-gradle-dependencies:$pluginProjectSourceDependentStableCommonGradleDependenciesVersion")
}

tasks.named<KotlinCompilationTask<*>>("compileKotlin").configure {
Expand Down
3 changes: 1 addition & 2 deletions kotlin-common-gradle-plugins/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ dependencies {
//implementation("io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0")

implementation("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.9")
// TODO
//implementation(commonGradleClasspathDependencies.kotlinx.benchmark.pluginProject())
implementation(commonGradleClasspathDependencies.kotlinx.benchmark.pluginProject())
implementation("org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion")

testImplementation(kotlin("test"))
Expand Down

0 comments on commit 45fe205

Please sign in to comment.