def java_binary(name, main_class, srcs=[], deps=[], resources=[], source_encoding=None, warnings=None, exclusions=[], **kwargs):
 target = JavaBinary(name, srcs, deps, resources, source_encoding, warnings, main_class, exclusions, kwargs)
 blade.blade.register_target(target)

def java_binary ( name , main_class , srcs = [ ] , deps = [ ] , resources = [ ] , source_encoding = None , warnings = None , exclusions = [ ] , ** kwargs ) : target = JavaBinary ( name , srcs , deps , resources , source_encoding , warnings , main_class , exclusions , kwargs ) blade . blade . register_target ( target )
define java_binary target .