GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Internal change · bazelbuild/rules_java@6551a25

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java
    • BUILD
    • bazel/rules
      • BUILD.bazel
      • empty.bzl
    • java_binary.bzl
    • java_import.bzl
    • java_library.bzl
    • java_plugin.bzl
    • java_test.bzl
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java/BUILD‎

Copy file name to clipboardExpand all lines: java/BUILD
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
],
Collapse file

‎java/bazel/rules/BUILD.bazel‎

Copy file name to clipboard
+30Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
)
Collapse file

‎java/bazel/rules/empty.bzl‎

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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"""
Collapse file

‎java/java_binary.bzl‎

Copy file name to clipboardExpand all lines: java/java_binary.bzl
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
@@ -13,8 +13,6 @@
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-
1816
def java_binary(**attrs):
1917
"""Bazel java_binary rule.
2018
Collapse file

‎java/java_import.bzl‎

Copy file name to clipboardExpand all lines: java/java_import.bzl
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
Collapse file

‎java/java_library.bzl‎

Copy file name to clipboardExpand all lines: java/java_library.bzl
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
@@ -13,8 +13,6 @@
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-
1816
def java_library(**attrs):
1917
"""Bazel java_library rule.
2018
Collapse file

‎java/java_plugin.bzl‎

Copy file name to clipboardExpand all lines: java/java_plugin.bzl
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
Collapse file

‎java/java_test.bzl‎

Copy file name to clipboardExpand all lines: java/java_test.bzl
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
@@ -13,8 +13,6 @@
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-
1816
def java_test(**attrs):
1917
"""Bazel java_test rule.
2018

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.