aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/build.gradle')
-rw-r--r--pdf-as-lib/build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
index 43e31242..9e440fb8 100644
--- a/pdf-as-lib/build.gradle
+++ b/pdf-as-lib/build.gradle
@@ -1,5 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
+apply plugin: 'java-library-distribution'
jar {
manifest {
@@ -129,6 +130,17 @@ test {
systemProperties 'property': 'value'
}
+distributions {
+ main {
+ contents {
+ from { '../docs' }
+ from('../doc/') {
+ include '*.pdf'
+ }
+ }
+ }
+}
+
uploadArchives {
repositories {
flatDir {