next-franciscoescribano / bazel-springboot-rule

Bazel rule for building Spring Boot apps as a deployable jar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salesforce Spring Boot Rule for Bazel

This repository contains the Spring Boot rule for the Bazel build system. It enables Bazel to build Spring Boot applications and package them as an executable jar file. The executable jar is the best way to deploy your Spring Boot application in production environments.

The Salesforce springboot rule is contained in a directory that is designed to be copied into your workspace. It can be found, along with documentation, in this location:

Support

This rule was developed by Salesforce. If you have any issues with this repository, please create a GitHub Issue. We will try to quickly address problems and answer questions.

Alternate Approach

If you don't need to create a runnable executable jar file, there is a simpler approach to Spring Boot in the rules_jvm_external repository. That approach is sufficient if Bazel and your Bazel workspace are available in all environments that launch the application.

At Salesforce, Bazel is not available in production environments, and so this alternate approach is not viable.

About

Bazel rule for building Spring Boot apps as a deployable jar

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Starlark 65.3%Language:Shell 21.5%Language:Python 13.2%