You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/01/31 09:18:09 UTC

[groovy] branch GROOVY_2_5_X updated: GROOVY-8970: Fix typo in MANIFEST.MF: Main-class (closes #864)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new aeacb1b  GROOVY-8970: Fix typo in MANIFEST.MF: Main-class (closes #864)
aeacb1b is described below

commit aeacb1b1d813d2d21f61f24c21da83bb7fa80350
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Jan 27 01:43:44 2019 +0800

    GROOVY-8970: Fix typo in MANIFEST.MF: Main-class (closes #864)
---
 gradle/assemble.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle
index 5828420..4aa0efa 100644
--- a/gradle/assemble.gradle
+++ b/gradle/assemble.gradle
@@ -108,7 +108,7 @@ ext.allManifest = manifest {
             'Bundle-ClassPath': '.',
             'Eclipse-BuddyPolicy': 'dependent',
             'DynamicImport-Package': '*',
-            'Main-class': 'groovy.ui.GroovyMain')
+            'Main-Class': 'groovy.ui.GroovyMain')
 }
 
 ext.groovyOsgiManifest = {
@@ -131,7 +131,7 @@ ext.subprojectOsgiManifest = {
     // Exclude attributes not needed for subprojects.
     from(allManifest) {
         eachEntry { details ->
-            if (details.key in [*excludedFromManifest, 'Bnd-LastModified', 'Extension-Name', 'Bundle-Name', 'Bundle-Description', 'Main-class']) {
+            if (details.key in [*excludedFromManifest, 'Bnd-LastModified', 'Extension-Name', 'Bundle-Name', 'Bundle-Description', 'Main-Class']) {
                 details.exclude()
             }
         }