groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cchamp...@apache.org
Subject groovy git commit: Fix incorrect Automatic-Module-Name in jars
Date Wed, 13 Dec 2017 10:23:10 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 2ab917799 -> 9654da3e9


Fix incorrect Automatic-Module-Name in jars


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 9654da3e91ede7c6c34f19bec543e4be5c398d4a
Parents: 2ab9177
Author: Cedric Champeau <cchampeau@apache.org>
Authored: Wed Dec 13 11:19:02 2017 +0100
Committer: Cedric Champeau <cchampeau@apache.org>
Committed: Wed Dec 13 11:22:47 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/9654da3e/gradle/assemble.gradle
----------------------------------------------------------------------
diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle
index eeaa1d3..e2eab51 100644
--- a/gradle/assemble.gradle
+++ b/gradle/assemble.gradle
@@ -226,7 +226,7 @@ allprojects {
                     symbolicName = gradleProject.name
                     instruction 'Import-Package', '*;resolution:=optional'
                     classesDir = targetTmp
-                    def moduleName = "org.codehaus.${it.name.replace('-', '.')}"
+                    def moduleName = "org.codehaus.${gradleProject.name.replace('-', '.')}"
                     attributes('Automatic-Module-Name': moduleName)
                 }
                 manifest(manifestSpec)


Mime
View raw message