-
Notifications
You must be signed in to change notification settings - Fork 50
/
.bazelrc
37 lines (29 loc) · 1.29 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Copyright (c) 2017-2024, salesforce.com, inc.
# All rights reserved.
# Licensed under the BSD 3-Clause license.
# For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
#
# **********************************
# BZLMOD
# **********************************
common --enable_bzlmod
# **********************************
# ARTIFACT STAMPING
# **********************************
# These settings ensure Spring Boot artifacts are built with stamped version info.
# The Spring Boot rule uses the stamping information to populate the /manage/info endpoint
# refer to our tools/buildstamp/README.md for more details
build --stamp
build --workspace_status_command tools/buildstamp/get_workspace_status
# **********************************
# JAVA COMPILATION
# **********************************
# Currently, only the exmaples use Java, so these settings are limited to the examples.
# Spring Boot 3 requires JDK17
# Compile and Test/Run JDKs
common --java_language_version=17 # used for compilation (version for compiling java sources)
common --java_runtime_version=17 # used for execution & testing java binaries
# Tools - the jdk used for running tools that get executed during the build
common --tool_java_language_version=17
common --tool_java_runtime_version=17