This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new f340e1aa9b GROOVY-11570: Groovy 4/5 not working in OSGi container
f340e1aa9b is described below
commit f340e1aa9bb22df58c497acabb3ea1e74358d52c
Author: Paul King <[email protected]>
AuthorDate: Thu Feb 20 20:36:25 2025 +1000
GROOVY-11570: Groovy 4/5 not working in OSGi container
---
build-logic/src/main/groovy/org.apache.groovy-library.gradle | 1 +
1 file changed, 1 insertion(+)
diff --git a/build-logic/src/main/groovy/org.apache.groovy-library.gradle
b/build-logic/src/main/groovy/org.apache.groovy-library.gradle
index 88fb20af61..44ee89f65a 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-library.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-library.gradle
@@ -36,6 +36,7 @@ tasks.named('jarjar') { JarJarTask it ->
version = groovyBundleVersion
instruction '-nouses', 'true'
instruction 'Export-Package', "*;version=${groovyBundleVersion}"
+ instruction 'Fragment-Host', 'groovy'
def folder = file("${projectDir}/src/main/resources/META-INF/services")
if (folder.exists()) {
if (folder.listFiles().count { it.name ==~
/^(?!(org.codehaus.groovy.transform.ASTTransformation)$).*$/ } > 0) {