diff --git a/build.gradle b/build.gradle index 2271f4038..fae6a4d0e 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'