From 0df3088ffa19877ba49a4498cf6d73aea992b37b Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Sat, 23 Nov 2024 11:23:09 +0100 Subject: [PATCH] build: overrideModuleName() for headlong To support older versions until all repositories update to the latest. Signed-off-by: Jendrik Johannes --- .../kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts b/src/main/kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts index bcfcef7..0a9adfe 100644 --- a/src/main/kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts +++ b/src/main/kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts @@ -128,7 +128,10 @@ extraJavaModuleInfo { module("io.perfmark:perfmark-api", "io.perfmark") module("javax.inject:javax.inject", "javax.inject") module("commons-codec:commons-codec", "org.apache.commons.codec") - module("com.esaulpaugh:headlong", "com.esaulpaugh.headlong") + module("com.esaulpaugh:headlong", "com.esaulpaugh.headlong") { + exportAllPackages() + overrideModuleName() // for older versions with 'Automatic-Module-Name: headlong' + } module("org.connid:framework", "org.connid.framework") module("org.connid:framework-internal", "org.connid.framework.internal") { exportAllPackages()