Skip to content

Commit

Permalink
feat: automatic JPMS module name
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Jul 18, 2024
1 parent 2e33a53 commit 4a6ce86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ dependencies {
testFixturesImplementation 'org.smali:smali:2.5.2'
}

jar {
manifest {
attributes('Automatic-Module-Name': 'proguard.android')
}
}

test {
useJUnitPlatform()
}
Expand Down
2 changes: 1 addition & 1 deletion base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies {
jar {
archiveBaseName = 'proguard-core'
manifest {
attributes('Implementation-Version': archiveVersion.get())
attributes('Implementation-Version': archiveVersion.get(), 'Automatic-Module-Name': 'proguard.core')
}
}

Expand Down

0 comments on commit 4a6ce86

Please sign in to comment.