1java_library( 2 name = "netty", 3 srcs = glob([ 4 "src/main/java/**/*.java", 5 ]), 6 resources = glob([ 7 "src/main/resources/**", 8 ]), 9 visibility = ["//visibility:public"], 10 deps = [ 11 "//api", 12 "//core:internal", 13 "@com_google_code_findbugs_jsr305//jar", 14 "@com_google_errorprone_error_prone_annotations//jar", 15 "@com_google_guava_guava//jar", 16 "@com_google_j2objc_j2objc_annotations//jar", 17 "@io_netty_netty_buffer//jar", 18 "@io_netty_netty_codec//jar", 19 "@io_netty_netty_codec_http//jar", 20 "@io_netty_netty_codec_http2//jar", 21 "@io_netty_netty_codec_socks//jar", 22 "@io_netty_netty_common//jar", 23 "@io_netty_netty_handler//jar", 24 "@io_netty_netty_handler_proxy//jar", 25 "@io_netty_netty_resolver//jar", 26 "@io_netty_netty_transport//jar", 27 "@io_netty_netty_transport_native_unix_common//jar", 28 "@io_perfmark_perfmark_api//jar", 29 ], 30) 31 32# Mirrors the dependencies included in the artifact on Maven Central for usage 33# with maven_install's override_targets. Should only be used as a dep for 34# pre-compiled binaries on Maven Central. 35# 36# Not actually shaded; libraries should not be referencing unstable APIs so 37# there should not be any references to the shaded package. 38java_library( 39 name = "shaded_maven", 40 visibility = ["//visibility:public"], 41 runtime_deps = ["//netty/shaded"], 42) 43