Add Automatic-Module-Name: in MANIFEST.MF
@@ -60,6 +60,7 @@ dependencies {
jar {
manifest {
attributes 'Implementation-Version': version
+ attributes 'Automatic-Module-Name': 'com.google.cloud.tools.jib'
// OSGi metadata
attributes 'Bundle-SymbolicName': 'com.google.cloud.tools.jib'
