maven/internal/maven_repository.bzl
def _format_gradle_exclude(spec):
    """Format a gradle exclude specification.
    Args:
      spec: string of the form GROUP:MODULE
    Return: !list<string> A list of formatted lines
    """
    parts = spec.split(":")
    group = parts[0]
    module = parts[1]
    filters = []
    if group:
        filters.append("group: '%s'" % group)
    if module:
        filters.append("module: '%s'" % module)
    if len(filters) == 0:
        fail("Malformed exclude specification, should have form 'GROUP?:MODULE?', but at least one must be present.")
    return "    exclude " + ", ".join(filters) + "\n"
Format a gradle exclude specification.
    Args:
      spec: string of the form GROUP:MODULE
    Return: !list<string> A list of formatted lines
    
Format a gradle exclude specification.
Format a gradle exclude specification .
def _format_gradle_exclude(spec):
    parts = spec.split(":")
    group = parts[0]
    module = parts[1]
    filters = []
    if group:
        filters.append("group: '%s'" % group)
    if module:
        filters.append("module: '%s'" % module)
    if len(filters) == 0:
        fail("Malformed exclude specification, should have form 'GROUP?:MODULE?', but at least one must be present.")
    return "    exclude " + ", ".join(filters) + "\n"
def _format_gradle_exclude ( spec ) : parts = spec . split ( ":" ) group = parts [ 0 ] module = parts [ 1 ] filters = [ ] if group : filters . append ( "group: '%s'" % group ) if module : filters . append ( "module: '%s'" % module ) if len ( filters ) == 0 : fail ( "Malformed exclude specification, should have form 'GROUP?:MODULE?', but at least one must be present." ) return "    exclude " + ", " . join ( filters ) + "\n"
Format a gradle exclude specification.
Format a gradle exclude specification .
"""Format a gradle exclude specification.
    Args:
      spec: string of the form GROUP:MODULE
    Return: !list<string> A list of formatted lines
    """
spec
string of the form GROUP:MODULE
string of the form GROUP : MODULE