| # |
| # Copyright (c) 2024 Boeing |
| # |
| # This program and the accompanying materials are made |
| # available under the terms of the Eclipse Public License 2.0 |
| # which is available at https://www.eclipse.org/legal/epl-2.0/ |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| # |
| # Contributors: |
| # Boeing - initial API and implementation |
| # |
| module( |
| name = "module_example", |
| version = "0.0.0", |
| bazel_compatibility = [">=6.0.0"], |
| ) |
| bazel_dep(name = "rules_osee", version = "0.0.0") |
| bazel_dep(name = "aspect_bazel_lib", version = "2.3.0") |
| bazel_dep(name = "rules_pkg", version = "0.10.1") |
| |
| bat = use_extension("@rules_osee//bat:extensions.bzl","bat") |
| bat.toolchain() |
| |
| plconfig = use_extension("@rules_osee//plconfig:extensions.bzl","plconfig") |
| plconfig.config( |
| name="my_product_line", |
| osee_url="http://host.docker.internal:8089", |
| branch_id="8", |
| sha256="560e0b693fc28f468d3ce1f864d575de93f08255172d0b9333a258cb919d04f3") |
| |
| use_repo( |
| plconfig, |
| "my_product_line" |
| ) |
| |
| # If you wanted to vendor the Bat tool, call it similarly to this:: |
| # register_toolchains("//:my_bat") |
| |
| use_repo( |
| bat, |
| "bat", |
| ) |