Exclude txt files that are copied verbatim to generated project and should not have license headers.
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 @@ 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 ->