File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ bzl_library(
3838 ],
3939 visibility = ["//visibility:public" ],
4040 deps = [
41+ "//java/bazel/rules" ,
4142 "//java/common" ,
4243 "//java/private" ,
4344 ],
@@ -64,6 +65,7 @@ filegroup(
6465 ":core_rules" ,
6566 ":java_single_jar" ,
6667 ":rules" ,
68+ "//java/bazel/rules:for_bazel_tests" ,
6769 "//java/common:for_bazel_tests" ,
6870 "//java/private:for_bazel_tests" ,
6971 ],
Original file line number Diff line number Diff line change 1+ # Copyright 2024 The Bazel Authors. All rights reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
15+
16+ bzl_library (
17+ name = "rules" ,
18+ srcs = glob (["*.bzl" ]),
19+ visibility = ["//java:__pkg__" ],
20+ )
21+
22+ filegroup (
23+ name = "for_bazel_tests" ,
24+ testonly = 1 ,
25+ srcs = [
26+ "BUILD.bazel" ,
27+ ":rules" ,
28+ ],
29+ visibility = ["//java:__pkg__" ],
30+ )
Original file line number Diff line number Diff line change 1+ # Copyright 2024 The Bazel Authors. All rights reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ """Empty file as a placeholder for migration"""
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
1+ # Copyright 2024 The Bazel Authors. All rights reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1313# limitations under the License.
1414"""java_binary rule"""
1515
16- # Do not touch: This line marks the end of loads; needed for PR importing.
17-
1816def java_binary (** attrs ):
1917 """Bazel java_binary rule.
2018
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
1+ # Copyright 2024 The Bazel Authors. All rights reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
1+ # Copyright 2024 The Bazel Authors. All rights reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1313# limitations under the License.
1414"""java_library rule"""
1515
16- # Do not touch: This line marks the end of loads; needed for PR importing.
17-
1816def java_library (** attrs ):
1917 """Bazel java_library rule.
2018
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
1+ # Copyright 2024 The Bazel Authors. All rights reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
1+ # Copyright 2024 The Bazel Authors. All rights reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1313# limitations under the License.
1414"""java_test rule"""
1515
16- # Do not touch: This line marks the end of loads; needed for PR importing.
17-
1816def java_test (** attrs ):
1917 """Bazel java_test rule.
2018
You can’t perform that action at this time.
0 commit comments