geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upthewatersp...@apache.org
Subject incubator-geode git commit: GEODE-572: Generate public javadocs
Date Tue, 02 Feb 2016 22:00:41 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop f7b2714c1 -> 01c9337ba


GEODE-572: Generate public javadocs

Adding a task to generate javadocs for the public API as part of the
assembly project. The javadocs are now included in the binary
distribution in a folder called javadocs.


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

Branch: refs/heads/develop
Commit: 01c9337ba7a8f12623652ba149c17b43fccc52d4
Parents: f7b2714
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Tue Feb 2 10:00:49 2016 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Tue Feb 2 13:59:26 2016 -0800

----------------------------------------------------------------------
 gemfire-assembly/build.gradle | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/01c9337b/gemfire-assembly/build.gradle
----------------------------------------------------------------------
diff --git a/gemfire-assembly/build.gradle b/gemfire-assembly/build.gradle
index 21ee604..a02b0a3 100755
--- a/gemfire-assembly/build.gradle
+++ b/gemfire-assembly/build.gradle
@@ -195,6 +195,21 @@ task gfshDepsJar (type: Jar, dependsOn: ':gemfire-core:classes') {
   }
 }
 
+
+def docsDir = file("$buildDir/javadocs")
+task docs(type: Javadoc) {
+    source parent.subprojects*.javadoc*.source
+    classpath = files(parent.subprojects*.javadoc*.classpath)
+    title = "Apache Geode ${project.version}"
+    include 'com/gemstone/gemfire/**/'
+    exclude 'com/gemstone/gemfire/internal/**/'
+    exclude 'com/gemstone/gemfire/**/internal/**/'
+    exclude 'com/gemstone/gemfire/**/xml/**/'
+    exclude 'com/gemstone/gemfire/distributed/**/util/**/'
+    exclude 'com/gemstone/gemfire/test/**/'
+    destinationDir = docsDir
+}
+
 gradle.taskGraph.whenReady( { graph ->
   tasks.withType(AbstractArchiveTask).findAll {
     it.name.toLowerCase().contains("dist")
@@ -297,6 +312,10 @@ distributions {
         }
       }
 
+      into ('javadoc') {
+        from docs
+      }
+
       into ('tools/Pulse') {
         from (project(":gemfire-pulse").configurations.archives.allArtifacts.files) {
           exclude '*.jar'


Mime
View raw message