Skip to content

Commit

Permalink
chore: add 'Automatic-Module-Name' property in jar manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
mthl committed Oct 26, 2022
1 parent 2c4dd7a commit 69a969d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 69a969d

Please sign in to comment.