GROOVY-8429: Jar files under indy directory of distribution miss the file 
extension(i.e. jar)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/5dd21e19
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/5dd21e19
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/5dd21e19

Branch: refs/heads/GROOVY_2_6_X
Commit: 5dd21e1901bf0c9d7f65ae48ee64029876b568cd
Parents: f53e4d8
Author: paulk <[email protected]>
Authored: Wed Jan 3 18:45:02 2018 +1000
Committer: paulk <[email protected]>
Committed: Wed Jan 3 22:21:37 2018 +1000

----------------------------------------------------------------------
 gradle/assemble.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/5dd21e19/gradle/assemble.gradle
----------------------------------------------------------------------
diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle
index 530a39a..fa13262 100644
--- a/gradle/assemble.gradle
+++ b/gradle/assemble.gradle
@@ -342,7 +342,7 @@ ext.distSpec = copySpec {
     duplicatesStrategy = DuplicatesStrategy.EXCLUDE
     from("$projectDir/licenses/LICENSE-BINZIP")
     from("$projectDir/notices/NOTICE-BINZIP")
-    rename '([A-Z]+)-(.*)', '$1'
+    rename '([A-Z]+)-BINZIP', '$1'
     exclude { it.file.name =~ /-raw/ }
     into('lib') {
         from jarjar

Reply via email to