Skip to content

Commit

Permalink
Reserve module names for future modularization
Browse files Browse the repository at this point in the history
Names are reserved as follows.
core: org.asciidoctor.asciidoctorj
api: org.asciidoctor.asciidoctorj.api
cli: org.asciidoctor.asciidoctorj.cli
  • Loading branch information
leadpony committed Nov 7, 2023
1 parent 45f86e1 commit 1d18d37
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
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 1d18d37

Please sign in to comment.