Skip to content

Commit

Permalink
Merge pull request #99 from overheadhunter/patch-2
Browse files Browse the repository at this point in the history
Add Automatic-Module-Name to manifest
  • Loading branch information
vvatanabe authored May 31, 2021
2 parents 552c463 + 1b739d9 commit 37fe12a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ version = '1.5.0'
archivesBaseName = 'zxcvbn'
sourceCompatibility = 1.7
targetCompatibility = 1.7
ext.moduleName = 'com.nulabinc.zxcvbn'

wrapper {
gradleVersion = '5.5'
Expand Down Expand Up @@ -51,8 +52,10 @@ if (JavaVersion.current().isJava8Compatible()) {
}

jar {
inputs.property("moduleName", moduleName)

manifest {
attributes 'Implementation-Title': archivesBaseName, 'Implementation-Version': version
attributes 'Implementation-Title': archivesBaseName, 'Implementation-Version': version, 'Automatic-Module-Name': moduleName
}
}

Expand Down

0 comments on commit 37fe12a

Please sign in to comment.