aboutsummaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/build.gradle.kts6
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/DependencyUpdatesPlugin.kt35
2 files changed, 0 insertions, 41 deletions
diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts
index 4dc0e4b3..877d6752 100644
--- a/build-logic/build.gradle.kts
+++ b/build-logic/build.gradle.kts
@@ -65,10 +65,6 @@ gradlePlugin {
id = "com.github.android-password-store.versioning-plugin"
implementationClass = "app.passwordstore.gradle.versioning.VersioningPlugin"
}
- register("versions") {
- id = "com.github.android-password-store.versions"
- implementationClass = "app.passwordstore.gradle.DependencyUpdatesPlugin"
- }
}
}
@@ -88,8 +84,6 @@ dependencies {
implementation(libs.build.r8)
implementation(libs.build.semver)
implementation(libs.build.sentry)
- implementation(libs.build.vcu)
- implementation(libs.build.versions)
implementation(libs.kotlinx.coroutines.core)
// Expose the generated version catalog API to the plugin.
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
- }
- }
- }
- }
-}