Exclude txt files that are copied verbatim to generated project and should not 
have license headers.


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/0665d56d
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/0665d56d
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/0665d56d

Branch: refs/heads/es-jooq
Commit: 0665d56d6432800226196d9deb9b610661841c7e
Parents: bc0a510
Author: niclas <[email protected]>
Authored: Sun Jul 9 11:03:39 2017 +0800
Committer: niclas <[email protected]>
Committed: Sun Jul 9 11:03:39 2017 +0800

----------------------------------------------------------------------
 .../gradle/structure/distributions/DistributionsPlugin.groovy    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/0665d56d/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy
----------------------------------------------------------------------
diff --git 
a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy
 
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy
index f6eee1f..1fa7936 100644
--- 
a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy
+++ 
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/distributions/DistributionsPlugin.groovy
@@ -165,6 +165,10 @@ class DistributionsPlugin implements Plugin<Project>
       spec.exclude '**/.nb-gradle/**'        // Netbeans files
       spec.exclude '**/.nb-gradle*'          // Netbeans files
 
+      // Polygene Generator files
+      spec.exclude '**/customUnixStartScript.txt'
+      spec.exclude '**/customWindowsStartScript.txt'
+
       spec.into '.'
     }
     def srcDistSupplementaryFilesCopySpec = project.copySpec { CopySpec spec ->

Reply via email to