class GradleBuildSystemFactory implements BuildSystemFactory {

	@Override
	public BuildSystem createBuildSystem(String id) {
		return createBuildSystem(id, null);
	}

	@Override
	public BuildSystem createBuildSystem(String id, String dialect) {<FILL_FUNCTION_BODY>}

}

		if (GradleBuildSystem.ID.equals(id)) {
			if (dialect == null) {
				return new GradleBuildSystem();
			}
			if (dialect.equals(GradleBuildSystem.DIALECT_GROOVY) || dialect.equals(GradleBuildSystem.DIALECT_KOTLIN)) {
				return new GradleBuildSystem(dialect);
			}
		}
		return null;
	
<no_super_class>