aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-13 16:25:58 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-13 16:25:58 +0200
commit2fd024ba2dd284820d8d5db6e07efea59cfab611 (patch)
treeb4bdecb4b0b41a3c437e947fd77a452d4d09dfa0
parent152d2f6dd78f804d60ffad2390f9231a597bc26f (diff)
downloadpdf-as-4-2fd024ba2dd284820d8d5db6e07efea59cfab611.tar.gz
pdf-as-4-2fd024ba2dd284820d8d5db6e07efea59cfab611.tar.bz2
pdf-as-4-2fd024ba2dd284820d8d5db6e07efea59cfab611.zip
Build source jars
-rw-r--r--build.gradle9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index a29130bd..bb4e8e1b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -60,6 +60,15 @@ subprojects {
cveCheck 'org.owasp:dependency-check-ant:1.2.5'
}
+ task sourcesJar(type: Jar, dependsOn: classes) {
+ classifier = 'sources'
+ from sourceSets.main.allSource
+ }
+
+ artifacts {
+ archives sourcesJar
+ }
+
sourceCompatibility = 1.6
project.ext{
releaseRepoUrl = "file://${project(':').projectDir}/../mvn-repo/releases"