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.
Merge pull request asciidoctor#1149 from abelsromero/issue-246-extrac…
…t-cli-into-submodule
- Loading branch information
Showing
28 changed files
with
216 additions
and
165 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 = "mavenAsciidoctorJCli" | ||
|
||
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
7 changes: 7 additions & 0 deletions
7
asciidoctorj-cli/src/main/java/org/asciidoctor/cli/DocTypeEnum.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.asciidoctor.cli; | ||
|
||
public enum DocTypeEnum { | ||
|
||
article, book, inline | ||
|
||
} |
3 changes: 2 additions & 1 deletion
3
...ctor/jruby/cli/MaxSeverityLogHandler.java → ...sciidoctor/cli/MaxSeverityLogHandler.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
5 changes: 2 additions & 3 deletions
5
...iidoctor/jruby/cli/SafeModeConverter.java → ...rg/asciidoctor/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
2 changes: 1 addition & 1 deletion
2
...iidoctor/jruby/cli/SeverityConverter.java → ...rg/asciidoctor/cli/SeverityConverter.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
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
Oops, something went wrong.