Skip to content

Commit

Permalink
Merge pull request #1240 from leadpony/feature/stable-module-name
Browse files Browse the repository at this point in the history
Reserve stable module names for future JPMS modularization
  • Loading branch information
robertpanzer authored Nov 11, 2023
2 parents 45f86e1 + 9d1ffd5 commit 989cf99
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Improvement::
* Remove deprecated methods from Document interface (#1202) (@abelsromero)
* Remove deprecated methods and constants from extension package (#1203) (@abelsromero)
* Remove deprecated methods from ast package (#1204) (@abelsromero)
* Add Automatic-Module-Name manifest entry to core, api, and cli for reserving stable JPMS module names (#1240) (@leadpony)

Bug Fixes::

Expand Down
5 changes: 5 additions & 0 deletions asciidoctorj-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jar {
('Bundle-Name'): 'asciidoctorj-api',
('Bundle-SymbolicName'): 'org.asciidoctor.asciidoctorj-api',
)
manifest {
attributes(
'Automatic-Module-Name': 'org.asciidoctor.asciidoctorj.api'
)
}
}

ext.publicationName = "mavenAsciidoctorJApi"
Expand Down
5 changes: 5 additions & 0 deletions asciidoctorj-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ jar {
('Bundle-SymbolicName'): 'org.asciidoctor.asciidoctorj-cli',
('Import-Package'): 'com.beust.jcommander;resolution:=optional, *'
)
manifest {
attributes(
'Automatic-Module-Name': 'org.asciidoctor.asciidoctorj.cli'
)
}
metaInf { from "$buildDir/version-info/" }
}
5 changes: 5 additions & 0 deletions asciidoctorj-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ jar {
('Bundle-Name'): 'asciidoctorj',
('Bundle-SymbolicName'): 'org.asciidoctor.asciidoctorj'
)
manifest {
attributes(
'Automatic-Module-Name': 'org.asciidoctor.asciidoctorj'
)
}
metaInf { from "$buildDir/version-info/" }
}

Expand Down

0 comments on commit 989cf99

Please sign in to comment.