def rule_runner() -> RuleRunner: rule_runner = RuleRunner( rules=[ *core_target_types_rules(), *coursier_fetch_rules(), *lockfile.rules(), *resources.rules(), *classpath.rules(), *util_rules(), *testutil.rules(), QueryRule(RenderedClasspath, (Addresses, )), ], target_types=[ ResourcesGeneratorTarget, ResourceTarget, ], ) rule_runner.set_options(args=[], env_inherit=PYTHON_BOOTSTRAP_ENV) return rule_runner
def rules(): return [ *javac.rules(), *check.rules(), *classpath.rules(), *junit.rules(), *deploy_jar.rules(), *lockfile.rules(), *coursier_fetch.rules(), *java_parser.rules(), *java_parser_launcher.rules(), *resources.rules(), *symbol_mapper.rules(), *dependency_inference_rules.rules(), *tailor.rules(), *jvm_util_rules.rules(), *jdk_rules.rules(), *target_types_rules(), *jvm_tool.rules(), *run_deploy_jar.rules(), *war_rules(), *java_bsp_rules.rules(), ]
def rules(): return [ *scalac.rules(), *scalatest.rules(), *check.rules(), *tailor.rules(), *repl.rules(), *classpath.rules(), *junit.rules(), *deploy_jar.rules(), *lockfile.rules(), *coursier_fetch.rules(), *coursier_setup.rules(), *jvm_util_rules.rules(), *jdk_rules.rules(), *dep_inf_rules.rules(), *target_types_rules(), *jvm_tool.rules(), *resources.rules(), *run_deploy_jar.rules(), *scala_lockfile_rules(), *bsp_rules(), *war_rules(), ]
def rules(): return [ *kotlinc.rules(), *kotlinc_plugins.rules(), *check.rules(), *tailor.rules(), *classpath.rules(), *lockfile.rules(), *coursier_fetch.rules(), *coursier_setup.rules(), *dep_inf_rules(), *jvm_util_rules.rules(), *jdk_rules.rules(), *target_types_rules(), *jvm_tool.rules(), *resources.rules(), *system_binaries.rules(), *source_files.rules(), *deploy_jar.rules(), *run_deploy_jar.rules(), *war.rules(), *jvm_junit_rules(), *kotlin_junit_rules(), ]