summaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-06-12 16:31:42 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-06-12 16:31:42 +0530
commit68cf22fb75e72d373bd103bbd7993cd1bd9923e8 (patch)
treed268464dafa8eb9afd22d392e7e9e0460ad1dad8 /build-logic/kotlin-plugins
parente07b239360e18de8aaf47d1772a17ed404ed83c9 (diff)
build-logic: rewrite version overrides to edit the version catalog
Diffstat (limited to 'build-logic/kotlin-plugins')
-rw-r--r--build-logic/kotlin-plugins/build.gradle.kts14
1 files changed, 0 insertions, 14 deletions
diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts
index 71230f52..bfd54dc0 100644
--- a/build-logic/kotlin-plugins/build.gradle.kts
+++ b/build-logic/kotlin-plugins/build.gradle.kts
@@ -59,17 +59,3 @@ dependencies {
implementation(libs.build.kotlin)
implementation(libs.build.spotless)
}
-
-configurations.all {
- resolutionStrategy.eachDependency {
- val overrideName =
- "GRADLE_VERSION_OVERRIDE_${requested.group.replace('.', '_')}_${requested.name}"
- val overridenVersion = System.getenv(overrideName)
- if (!overridenVersion.isNullOrEmpty()) {
- project.logger.lifecycle(
- "Overriding dependency ${requested.group}:${requested.name} to version $overridenVersion"
- )
- useVersion(overridenVersion)
- }
- }
-}