From e32535eeccc97f2ac33af74257accbe13888334c Mon Sep 17 00:00:00 2001 From: Jente Sondervorst Date: Thu, 14 Mar 2024 21:43:05 +0100 Subject: [PATCH] Added gradle dependency scopes for ear plugin (#4095) --- rewrite-gradle/src/main/groovy/RewriteGradleProject.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rewrite-gradle/src/main/groovy/RewriteGradleProject.groovy b/rewrite-gradle/src/main/groovy/RewriteGradleProject.groovy index 624f56a1686..3cf95ece1ff 100644 --- a/rewrite-gradle/src/main/groovy/RewriteGradleProject.groovy +++ b/rewrite-gradle/src/main/groovy/RewriteGradleProject.groovy @@ -66,6 +66,10 @@ interface DependencyHandlerSpec extends DependencyHandler { Dependency testRuntime(Object dependencyNotation, @DelegatesTo(strategy=Closure.DELEGATE_ONLY, value= ExternalDependency) Closure closure) Dependency testRuntimeOnly(Object... dependencyNotation) Dependency testRuntimeOnly(Object dependencyNotation, @DelegatesTo(strategy=Closure.DELEGATE_ONLY, value= ExternalDependency) Closure closure) + Dependency deploy(Object... dependencyNotation) + Dependency deploy(Object dependencyNotation, @DelegatesTo(strategy=Closure.DELEGATE_ONLY, value= ExternalDependency) Closure closure) + Dependency earlib(Object... dependencyNotation) + Dependency earlib(Object dependencyNotation, @DelegatesTo(strategy=Closure.DELEGATE_ONLY, value= ExternalDependency) Closure closure) void constraints(Action configureAction) }