You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2015/12/31 13:24:19 UTC

incubator-geode git commit: GEODE-627: Add source distribution

Repository: incubator-geode
Updated Branches:
  refs/heads/develop 91b438971 -> bba765601


GEODE-627: Add source distribution

Add another distribution to create source archives, without gradle
wrapper binaries included.


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

Branch: refs/heads/develop
Commit: bba7656013d4ca5b5f97de24f2957049273bef09
Parents: 91b4389
Author: Anthony Baker <ab...@pivotal.io>
Authored: Wed Dec 30 09:01:17 2015 -0600
Committer: Anthony Baker <ab...@pivotal.io>
Committed: Thu Dec 31 06:21:34 2015 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/bba76560/gemfire-assembly/build.gradle
----------------------------------------------------------------------
diff --git a/gemfire-assembly/build.gradle b/gemfire-assembly/build.gradle
index 373d77a..ad466de 100755
--- a/gemfire-assembly/build.gradle
+++ b/gemfire-assembly/build.gradle
@@ -178,6 +178,29 @@ task gfshDepsJar (type: Jar, dependsOn: ':gemfire-core:classes') {
 }
 
 distributions {
+  src {
+    baseName = 'apache-geode-src'
+    contents {
+      from (rootDir) {
+        exclude 'gradlew'
+        exclude 'gradlew.bat'
+        exclude 'gradle/wrapper/gradle-wrapper.jar'
+        exclude 'gradle/wrapper/gradle-wrapper.properties'
+        exclude '.gradle'
+        exclude '**/build/**'
+        exclude '**/.project'
+        exclude '**/.classpath'
+        exclude '**/.settings/**'
+        exclude '**/build-eclipse/**'
+        exclude '.idea/**'
+        exclude '**/*.iml'
+        exclude '**/*.ipr'
+        exclude '**/*.iws'
+        exclude '**/tags'
+      }
+    }
+  }
+
   main {
     baseName = 'apache-geode' //TODO rootProject.name
     contents {