witty-crayon-22786
02/24/2016, 7:27 PMbored-art-40741
02/24/2016, 7:27 PMwitty-crayon-22786
02/24/2016, 7:27 PMbored-art-40741
02/24/2016, 7:27 PMbored-art-40741
02/24/2016, 7:27 PMbored-art-40741
02/24/2016, 7:27 PMregister('--runtime', advanced=True, type=list_option, default=['//:scala-library'],
help='Target specs pointing to the scala runtime libraries.',
deprecated_version='0.0.75',
deprecated_hint='Option is no longer used
mammoth-pharmacist-54215
02/24/2016, 7:27 PMbored-art-40741
02/24/2016, 7:27 PM@classmethod
def _synthetic_runtime_target(cls, buildgraph):
"""Insert synthetic target for scala runtime into the buildgraph
:param pants.build_graph.build_graph.BuildGraph buildgraph: buildgraph object
:return pants.build_graph.address.Address:
"""
# If a custom runtime is specified return it instead of synthetic target
# This will pull in user defined scala-library defs
custom_runtime_spec = ScalaPlatform.global_instance().runtime[0]
if ScalaPlatform.global_instance().version == 'custom':
return custom_runtime_spec
bored-art-40741
02/24/2016, 7:27 PMmammoth-pharmacist-54215
02/24/2016, 7:28 PMmammoth-pharmacist-54215
02/24/2016, 7:28 PMmammoth-pharmacist-54215
02/24/2016, 7:29 PMbored-art-40741
02/24/2016, 7:30 PMbored-art-40741
02/24/2016, 7:30 PMmammoth-pharmacist-54215
02/24/2016, 7:31 PMbored-art-40741
02/24/2016, 7:31 PMbored-art-40741
02/24/2016, 7:31 PMmammoth-pharmacist-54215
02/24/2016, 7:31 PMbored-art-40741
02/24/2016, 7:31 PMmammoth-pharmacist-54215
02/24/2016, 7:31 PMmammoth-pharmacist-54215
02/24/2016, 7:32 PMbored-art-40741
02/24/2016, 7:33 PMmammoth-pharmacist-54215
02/24/2016, 7:33 PMmammoth-pharmacist-54215
02/24/2016, 7:34 PMmammoth-pharmacist-54215
02/24/2016, 7:34 PMbored-art-40741
02/24/2016, 7:37 PMbored-art-40741
02/24/2016, 7:38 PMmammoth-pharmacist-54215
02/24/2016, 7:42 PMfast-nail-55400
02/24/2016, 7:51 PMcls.register_jvm_tool(register,
'zinc',
classpath=[
JarDependency('org.pantsbuild', 'zinc', '1.0.12')
],
fast-nail-55400
02/24/2016, 7:51 PM