diff --git a/HttpStatus.iml b/HttpStatus.iml
index f05d6c7..f678b8e 100644
--- a/HttpStatus.iml
+++ b/HttpStatus.iml
@@ -126,4 +126,209 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/HttpStatus.ipr b/HttpStatus.ipr
index c5332d5..2b6cbd4 100644
--- a/HttpStatus.ipr
+++ b/HttpStatus.ipr
@@ -269,4 +269,227 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 3e8e027..1827352 100644
--- a/build.gradle
+++ b/build.gradle
@@ -87,17 +87,18 @@ task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) {
task pandoc(type: Exec) {
group = "Documentation"
- def pandoc_cmd = 'pandoc --from markdown_github --to html5 -s -o README.html README.md';
- if (Os.isFamily(Os.FAMILY_WINDOWS)) {
- commandLine 'cmd', '/c', pandoc_cmd
+ def pandoc_args = ['--from', 'markdown_github', '--to', 'html5', '-s', '-o', 'README.html', 'README.md']
+ if (Os.isFamily(Os.FAMILY_WINDOWS))
+ {
+ commandLine(['cmd', '/c', 'pandoc'] + pandoc_args)
}
- else {
- commandLine pandoc_cmd
+ else
+ {
+ executable '/usr/local/bin/pandoc'
+ args pandoc_args
}
standardOutput = new ByteArrayOutputStream()
ext.output = {
return standardOutput.toString()
}
-}
-
-
\ No newline at end of file
+}
\ No newline at end of file