happy-kitchen-89482
03/25/2019, 3:46 PMaloof-angle-91616
03/25/2019, 3:47 PMaloof-angle-91616
03/25/2019, 3:47 PMhappy-kitchen-89482
03/25/2019, 3:47 PMaloof-angle-91616
03/25/2019, 3:48 PMloud-guitar-4381
03/25/2019, 9:02 PMhappy-kitchen-89482
03/26/2019, 1:33 AMloud-guitar-4381
03/26/2019, 1:34 AMloud-guitar-4381
03/26/2019, 2:12 PMhappy-kitchen-89482
03/26/2019, 9:01 PMself.runjava()
in the task with a classpath that includes the just-compiled tool's classfileshappy-kitchen-89482
03/26/2019, 9:02 PMhappy-kitchen-89482
03/26/2019, 9:03 PMindexer_main_tgt = self.context.build_graph.get_target_from_spec('src/java/com/toolchain/asm/indexer')
classpath_products = self.context.products.get_data('runtime_classpath')
classpath = ClasspathUtil.classpath(indexer_main_tgt.closure(), classpath_products)
happy-kitchen-89482
03/26/2019, 9:03 PMaloof-angle-91616
03/26/2019, 10:32 PMaloof-angle-91616
03/26/2019, 10:33 PMaloof-angle-91616
03/26/2019, 10:34 PMwitty-crayon-22786
03/26/2019, 10:37 PMwitty-crayon-22786
03/26/2019, 10:37 PMaloof-angle-91616
03/26/2019, 10:37 PMwitty-crayon-22786
03/26/2019, 11:07 PMloud-guitar-4381
03/27/2019, 2:28 AMloud-guitar-4381
03/27/2019, 2:29 AMloud-guitar-4381
03/27/2019, 2:30 AMloud-guitar-4381
03/27/2019, 2:34 AMloud-guitar-4381
03/27/2019, 2:35 AMloud-guitar-4381
03/27/2019, 2:36 AMhappy-kitchen-89482
03/27/2019, 6:00 PMhappy-kitchen-89482
03/27/2019, 6:01 PMjava_library
target in the codebase by subclassing JavaLibrary to inject the dep, then in your register.py
you can point the java_library
alias to your custom JavaLibrary.