From 029760848c20910e9c0b16fd7f6648dfb61caf29 Mon Sep 17 00:00:00 2001 From: nicolasb29 Date: Fri, 29 Nov 2024 21:43:49 +0100 Subject: [PATCH] Remove jackson-annotations --- .../src/main/java/org/openrewrite/gradle/RewritePlugin.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugin/src/main/java/org/openrewrite/gradle/RewritePlugin.java b/plugin/src/main/java/org/openrewrite/gradle/RewritePlugin.java index 215ab8d8b..3aa3c939c 100644 --- a/plugin/src/main/java/org/openrewrite/gradle/RewritePlugin.java +++ b/plugin/src/main/java/org/openrewrite/gradle/RewritePlugin.java @@ -201,11 +201,7 @@ private Set getResolvedDependencies(Project project, RewriteExtension exte // configuration. This also means that Gradle has no criteria with which to select between variants of // dependencies which expose differing capabilities. So those must be manually configured Configuration detachedConf = project.getConfigurations().detachedConfiguration(dependencies); - - - resolvedDependencies = detachedConf.resolve(); - } return resolvedDependencies; } @@ -232,7 +228,6 @@ private static List knownRewriteDependencies(RewriteExtension extens deps.create("org.openrewrite:rewrite-polyglot:" + extension.getRewritePolyglotVersion()), deps.create("org.openrewrite.gradle.tooling:model:" + extension.getRewriteGradleModelVersion()), deps.create("com.fasterxml.jackson.module:jackson-module-kotlin:" + extension.getJacksonModuleKotlinVersion()), - deps.create("com.fasterxml.jackson.core:jackson-annotations:" + extension.getJacksonModuleKotlinVersion()), deps.create("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:" + extension.getJacksonModuleKotlinVersion()) ).collect(Collectors.toList()); }