geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aba...@apache.org
Subject incubator-geode git commit: GEODE-777: Add sources and javadoc jars
Date Wed, 13 Jan 2016 18:08:14 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/release/1.0.0-incubating.M1 561d033be -> e2c35d7d4


GEODE-777: Add sources and javadoc jars

Generate sources and javadoc jars for each subproject.  This is
important for a maven workflow.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e2c35d7d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e2c35d7d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e2c35d7d

Branch: refs/heads/release/1.0.0-incubating.M1
Commit: e2c35d7d400516560a35bd2a779e25c5bbf6ab0b
Parents: 561d033
Author: Anthony Baker <abaker@apache.org>
Authored: Tue Jan 12 17:07:05 2016 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Wed Jan 13 10:07:59 2016 -0800

----------------------------------------------------------------------
 build.gradle                  | 12 ++++++++++++
 gemfire-assembly/build.gradle |  4 ++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e2c35d7d/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index edf567d..f42f786 100755
--- a/build.gradle
+++ b/build.gradle
@@ -309,8 +309,20 @@ subprojects {
     classifier 'test'
   }
 
+  task sourcesJar(type: Jar, dependsOn: classes) {
+    classifier = 'sources'
+    from sourceSets.main.allSource
+  }
+
+  task javadocJar(type: Jar, dependsOn: javadoc) {
+    description 'Assembles a jar archive of javadocs.'
+    from javadoc.destinationDir
+    classifier = 'javadoc'
+  }
+
   artifacts {
     testOutput jarTest
+    archives sourcesJar, javadocJar
   }
 
   sourceSets {

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e2c35d7d/gemfire-assembly/build.gradle
----------------------------------------------------------------------
diff --git a/gemfire-assembly/build.gradle b/gemfire-assembly/build.gradle
index 54c33c6..a3f26a9 100755
--- a/gemfire-assembly/build.gradle
+++ b/gemfire-assembly/build.gradle
@@ -233,6 +233,10 @@ distributions {
       duplicatesStrategy 'exclude'
       exclude '*.asc'
       
+      exclude '*.asc'
+      exclude '*-sources.jar'
+      exclude '*-javadoc.jar'
+
       into ('config') {
         from defaultCacheConfig
         from defaultDistributionConfig


Mime
View raw message