Files
guice/build_defs.bzl
T
Guice TeamandGuice Team ad77056d77 Fix Javadoc that fails when running with Java 9+.
Also:

- configure bazel and maven to use the same -Xdoclint option
- skip maven tests when generating javadoc and API diffs
- fix shell script to fail when any command returned non-zero exit code
- fix issue with the script that errors when trying to generate API diffs for module that does not contain Java doc (e.g extensions-parent)

PiperOrigin-RevId: 427018267
2022-02-07 14:31:32 -08:00

25 lines
772 B
Python

"""This file defines constants used across the Guice build"""
# Copyright (C) 2022 Google Inc.
#
# 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.
JAVAC_OPTS = [
"-Xdoclint:html,syntax",
"-source",
"1.8",
"-target",
"1.8",
]
POM_VERSION = "${project.version}"