diff --git a/gradle/build-logic/src/main/kotlin/conventions.base.gradle.kts b/gradle/build-logic/src/main/kotlin/conventions.base.gradle.kts index 27ca90f4..28898232 100644 --- a/gradle/build-logic/src/main/kotlin/conventions.base.gradle.kts +++ b/gradle/build-logic/src/main/kotlin/conventions.base.gradle.kts @@ -38,3 +38,11 @@ dependencies { /* Disable checkstyle on tests */ gradle.startParameter.excludedTaskNames.add("checkstyleTest") + +tasks { + jar { + manifest { + attributes("Automatic-Module-Name" to "%s.%s".format(project.group, archiveBaseName.get())) + } + } +}