From c08c6eb7a2202da3783b71a7e0caae98c2e22e67 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Wed, 26 Oct 2022 22:22:53 +0200 Subject: [PATCH] chore: add 'Automatic-Module-Name' property in jar manifest --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index f494a9917..70dfc96c7 100644 --- a/build.gradle +++ b/build.gradle @@ -34,6 +34,12 @@ repositories { mavenCentral() } +tasks.named('jar') { + manifest { + attributes('Automatic-Module-Name': 'com.google.maps') + } +} + task javadocJar(type: Jar, dependsOn: javadoc) { classifier = 'javadoc' from 'build/docs/javadoc'