public Map<String, String> getBundleDefaultInstructions() { Map<String, String> map = new HashMap<>(); map.put(Constants.BUNDLE_SYMBOLICNAME, project.getName()); map.put(Constants.BUNDLE_VENDOR, "Liferay, Inc."); map.put(Constants.DONOTCOPY, "(.touch)"); map.put(Constants.DSANNOTATIONS, "*"); map.put(Constants.METATYPE, "*"); map.put(Constants.PLUGIN, StringUtil.merge(_BND_PLUGIN_CLASS_NAMES, ",")); map.put(Constants.SOURCES, "false"); map.put("Git-Descriptor", "${system-allow-fail;git describe --dirty --always}"); map.put("Git-SHA", "${system-allow-fail;git rev-list -1 HEAD}"); JavaCompile javaCompile = (JavaCompile) GradleUtil.getTask(project, JavaPlugin.COMPILE_JAVA_TASK_NAME); CompileOptions compileOptions = javaCompile.getOptions(); map.put("Javac-Debug", _getOnOffValue(compileOptions.isDebug())); map.put("Javac-Deprecation", _getOnOffValue(compileOptions.isDeprecation())); String encoding = compileOptions.getEncoding(); if (Validator.isNull(encoding)) { encoding = System.getProperty("file.encoding"); } map.put("Javac-Encoding", encoding); map.put("-jsp", "*.jsp,*.jspf"); map.put("-sass", "*"); return map; }