def rules(): return ( *collect_rules(), *symbol_mapper.rules(), UnionRule(FirstPartyMappingRequest, FirstPartyJavaTargetsMappingRequest), )
def rules(): return ( *collect_rules(), *kotlin_parser.rules(), *symbol_mapper.rules(), *jvm_symbol_mapper.rules(), *artifact_mapper.rules(), UnionRule(InferDependenciesRequest, InferKotlinSourceDependencies), UnionRule(InjectDependenciesRequest, InjectKotlinRuntimeDependencyRequest), )
def rules(): return [ *javac.rules(), *check.rules(), *classpath.rules(), *junit.rules(), *deploy_jar.rules(), *coursier.rules(), *coursier_fetch.rules(), *coursier_setup.rules(), *import_parser.rules(), *java_parser.rules(), *java_parser_launcher.rules(), *symbol_mapper.rules(), *dependency_inference_rules.rules(), *tailor.rules(), *jvm_util_rules.rules(), *jdk_rules.rules(), *target_types_rules(), ]
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 rule_runner() -> RuleRunner: rule_runner = RuleRunner( rules=[ *config_files.rules(), *jvm_tool.rules(), *dep_inference_rules(), *kotlin_parser.rules(), *symbol_mapper.rules(), *kotlin_target_type_rules(), *source_files.rules(), *jvm_util_rules(), *jdk_rules.rules(), *artifact_mapper.rules(), *jvm_symbol_mapper.rules(), QueryRule(Addresses, [DependenciesRequest]), QueryRule(ExplicitlyProvidedDependencies, [DependenciesRequest]), QueryRule(InferredDependencies, [InferKotlinSourceDependencies]), QueryRule(Targets, [UnparsedAddressInputs]), ], target_types=[KotlinSourcesGeneratorTarget], objects={"parametrize": Parametrize}, ) rule_runner.set_options(args=[], env_inherit=PYTHON_BOOTSTRAP_ENV) return rule_runner