Skip to content

Commit

Permalink
Merge pull request #10 from Yannic:add_repositories.bzl
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 260874946
Change-Id: Id579b85d543ed57110e5aa88df4fc3e3d50bc0d5
  • Loading branch information
copybara-github committed Jul 31, 2019
2 parents 981f06c + 567c53e commit 973a93d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
6 changes: 5 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Empty WORKSPACE file.
workspace(name = "rules_java")

load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()
27 changes: 27 additions & 0 deletions java/repositories.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2019 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

def rules_java_dependencies():
"""An utility method to load all dependencies of rules_java.
It doesn't do anything at the moment.
"""
pass

def rules_java_toolchains():
"""An utility method to load all Java toolchains.
It doesn't do anything at the moment.
"""
pass

0 comments on commit 973a93d

Please sign in to comment.