From cd36f4a8e1e58608c5f87427120da5046acd8f38 Mon Sep 17 00:00:00 2001 From: Paul King Date: Sun, 5 Jan 2025 20:38:39 +1000 Subject: [PATCH] avoid deprecated usage (fix typo) --- .../apache/groovy/gradle/WriteExtensionDescriptorTask.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/src/main/groovy/org/apache/groovy/gradle/WriteExtensionDescriptorTask.groovy b/build-logic/src/main/groovy/org/apache/groovy/gradle/WriteExtensionDescriptorTask.groovy index 72a62f0387c..0145ca2197d 100644 --- a/build-logic/src/main/groovy/org/apache/groovy/gradle/WriteExtensionDescriptorTask.groovy +++ b/build-logic/src/main/groovy/org/apache/groovy/gradle/WriteExtensionDescriptorTask.groovy @@ -35,7 +35,7 @@ class WriteExtensionDescriptorTask extends DefaultTask { @OutputFile File descriptor = computeDescriptorFile() private File computeDescriptorFile() { - def metaInfDir = project.layout.buildDirectory.dir('/resources/main/META-INF/groovy').get() + def metaInfDir = project.layout.buildDirectory.dir('/resources/main/META-INF/groovy').get().asFile return new File(metaInfDir, 'org.codehaus.groovy.runtime.ExtensionModule') }