Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,24 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

load("@rules_license//rules:license.bzl", "license")
load("@score_docs_as_code//:docs.bzl", "docs")
load("@score_format_checker//:macros.bzl", "use_format_targets")
load("@score_tooling//:defs.bzl", "cli_helper", "copyright_checker", "dash_license_checker", "setup_starpls")
load("//:project_config.bzl", "PROJECT_CONFIG")

# Machine-readable license declaration for SBOM/compliance tooling (e.g.
# rules_license's gather_licenses_info aspect, or score_sbom once it consumes
# rules_license providers).
license(
name = "license",
package_name = "score_persistency",
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
package_url = "https://github.com/eclipse-score/persistency",
)

package(default_applicable_licenses = [":license"])

# Creates all documentation targets:
# - `:docs` for building documentation at build-time
docs(
Expand Down
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ bazel_dep(name = "rules_rust", version = "0.68.2-score")

# External dependencies for production (alphabetically sorted)
bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "score_bazel_platforms", version = "1.1.0")
bazel_dep(name = "score_baselibs", version = "0.2.13")
bazel_dep(name = "score_crates", version = "0.0.11")
Expand Down
Loading