diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2024-01-22 00:22:34 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2024-01-22 00:22:34 +0530 |
commit | 6d4acac53f9afdfd1f48944daf0649a9b8c9a023 (patch) | |
tree | 462027a90b43b035b85123e0ade1cc3049911b98 /build-logic/src/main/kotlin | |
parent | 7c9e563d969a34e6142f22db779b79101babc483 (diff) |
feat(build): remove dependency updates plugin
Renovate handles this for us
Diffstat (limited to 'build-logic/src/main/kotlin')
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/DependencyUpdatesPlugin.kt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/DependencyUpdatesPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/DependencyUpdatesPlugin.kt deleted file mode 100644 index 2880ac1d..00000000 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/DependencyUpdatesPlugin.kt +++ /dev/null @@ -1,35 +0,0 @@ -package app.passwordstore.gradle - -import com.github.benmanes.gradle.versions.VersionsPlugin -import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask -import nl.littlerobots.vcu.plugin.VersionCatalogUpdateExtension -import nl.littlerobots.vcu.plugin.VersionCatalogUpdatePlugin -import org.gradle.api.Plugin -import org.gradle.api.initialization.Settings -import org.gradle.kotlin.dsl.apply -import org.gradle.kotlin.dsl.configure -import org.gradle.kotlin.dsl.withType - -@Suppress("Unused") -class DependencyUpdatesPlugin : Plugin<Settings> { - - override fun apply(settings: Settings) { - settings.gradle.allprojects { - if (rootProject == this) { - pluginManager.apply(VersionCatalogUpdatePlugin::class) - extensions.configure<VersionCatalogUpdateExtension> { keep.keepUnusedLibraries.set(true) } - pluginManager.apply(VersionsPlugin::class) - tasks.withType<DependencyUpdatesTask> { - rejectVersionIf { - when (candidate.group) { - "commons-codec", - "org.eclipse.jgit" -> true - else -> false - } - } - checkForGradleUpdate = false - } - } - } - } -} |