Commits

Dhananjay Nene committed 7e6a00f

Removed underscores from version numbers

Comments (0)

Files changed (1)

src/main/groovy/in/vayana/gradle_plugins/GradleBndPlugin.groovy

                                 println("***** Unable to get version number for " + file.name)
                             }
                             jarVersion = matcher[0][2]
-                            jarVersion = (jarVersion =~ /([a-zA-Z-]+)/).replaceAll("")
+                            jarVersion = (jarVersion =~ /([a-zA-Z-_]+)/).replaceAll("")
                             jarVersion = (jarVersion =~ /[\.-]*$/).replaceAll("")
                             packageInfoSet = [] as Set
                             // extract each entry from the jar file