diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-06-12 16:31:42 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-06-12 16:31:42 +0530 |
commit | 68cf22fb75e72d373bd103bbd7993cd1bd9923e8 (patch) | |
tree | d268464dafa8eb9afd22d392e7e9e0460ad1dad8 /build-logic/kotlin-plugins/build.gradle.kts | |
parent | e07b239360e18de8aaf47d1772a17ed404ed83c9 (diff) |
build-logic: rewrite version overrides to edit the version catalog
Diffstat (limited to 'build-logic/kotlin-plugins/build.gradle.kts')
-rw-r--r-- | build-logic/kotlin-plugins/build.gradle.kts | 14 |
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) - } - } -} |