From e1178fbae8d271aea198ecdfc4f8f8dc006f02a7 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Sat, 27 Jan 2024 11:51:33 +0800 Subject: [PATCH] Gradle Plugin: remove excluding slf4j-simple in all dependencies --- .../grails/gradle/plugin/core/GrailsGradlePlugin.groovy | 8 -------- 1 file changed, 8 deletions(-) diff --git a/grace-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy b/grace-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy index 4307f3c556..d689c1db8a 100644 --- a/grace-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy +++ b/grace-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy @@ -118,8 +118,6 @@ class GrailsGradlePlugin extends GroovyPlugin { grailsVersion = resolveGrailsVersion(project) grailsAppDir = SourceSets.resolveGrailsAppDir(project) - excludeDependencies(project) - configureProfile(project) applyDefaultPlugins(project) @@ -163,12 +161,6 @@ class GrailsGradlePlugin extends GroovyPlugin { configurePathingJar(project) } - protected void excludeDependencies(Project project) { - project.configurations.all({ Configuration configuration -> - configuration.exclude group: 'org.slf4j', module: 'slf4j-simple' - }) - } - protected void configureProfile(Project project) { if (project.configurations.findByName(PROFILE_CONFIGURATION) == null) { def profileConfiguration = project.configurations.create(PROFILE_CONFIGURATION)