Skip to content

Commit 973a93d

Browse files
Merge pull request #10 from Yannic:add_repositories.bzl
PiperOrigin-RevId: 260874946 Change-Id: Id579b85d543ed57110e5aa88df4fc3e3d50bc0d5
2 parents 981f06c + 567c53e commit 973a93d

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

WORKSPACE

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# Empty WORKSPACE file.
1+
workspace(name = "rules_java")
2+
3+
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
4+
rules_java_dependencies()
5+
rules_java_toolchains()

java/repositories.bzl

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2019 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+
15+
def rules_java_dependencies():
16+
"""An utility method to load all dependencies of rules_java.
17+
18+
It doesn't do anything at the moment.
19+
"""
20+
pass
21+
22+
def rules_java_toolchains():
23+
"""An utility method to load all Java toolchains.
24+
25+
It doesn't do anything at the moment.
26+
"""
27+
pass

0 commit comments

Comments
 (0)