forked from asciidoctor/asciidoctorj
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract CLI Java components into new submodule
* Create new sub-module asciidoctorj-cli: migrated 'org.asciidoctor.jruby.cli' classes and related tests to it. * Created CliOptions in AsciidoctorUtils from values in AsciidoctorCliOptions to avoid circular dependency. * Updated README with new sub-module information. * Fix jar names in command in README. * Minor refactors and fixes. Fixes asciidoctor#246
- Loading branch information
1 parent
c8daaab
commit e9d53a6
Showing
26 changed files
with
198 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apply plugin: 'java-library' | ||
apply plugin: 'biz.aQute.bnd.builder' | ||
|
||
dependencies { | ||
api project(':asciidoctorj-api') | ||
api project(':asciidoctorj') | ||
implementation "com.beust:jcommander:$jcommanderVersion" | ||
|
||
testImplementation project(':asciidoctorj-arquillian-extension') | ||
testImplementation "org.jsoup:jsoup:$jsoupVersion" | ||
} | ||
|
||
project.ext.publicationName = "mavenAsciidoctorJ" | ||
|
||
apply from: rootProject.file('gradle/publish.gradle') | ||
apply from: rootProject.file('gradle/signing.gradle') | ||
|
||
jar { | ||
bnd( | ||
('Bundle-Name'): 'asciidoctorj-cli', | ||
('Bundle-SymbolicName'): 'org.asciidoctor.asciidoctorj-cli', | ||
('Import-Package'): 'com.beust.jcommander;resolution:=optional, *' | ||
) | ||
metaInf { from "$buildDir/version-info/" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
properName=AsciidoctorJ CLI | ||
description=AsciidoctorJ Command Line Interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
public enum DocTypeEnum { | ||
|
||
article, book, inline; | ||
article, book, inline | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...iidoctor/jruby/cli/SafeModeConverter.java → ...iidoctor/jruby/cli/SafeModeConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.