Exemple #1
0
def generate_fat_jar(output, **kwargs):
    # Import from function to avoid affecting the performance of other tools.
    from blade import fatjar  # pylint: disable=import-outside-toplevel
    _declare_outputs(output)
    console.set_log_file('%s.log' % output.replace('.fat.jar', '__fatjar__'))
    console.enable_color(True)
    fatjar.generate_fat_jar(output=output, **kwargs)
Exemple #2
0
def generate_fat_jar_entry(args):
    jar = args[0]
    console.set_log_file('%s.log' % jar.replace('.fat.jar', '__fatjar__'))
    console.enable_color(True)
    fatjar.generate_fat_jar(jar, args[1:])
Exemple #3
0
def generate_fat_jar(output, **kwargs):
    _declare_outputs(output)
    console.set_log_file('%s.log' % output.replace('.fat.jar', '__fatjar__'))
    console.enable_color(True)
    fatjar.generate_fat_jar(output=output, **kwargs)