Skip to content

Commit

Permalink
Publish buildfoundation/[email protected] (#993)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Lee <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and Bencodes authored Oct 11, 2023
1 parent f83de8b commit 9622706
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 1 deletion.
14 changes: 14 additions & 0 deletions modules/rules_pmd/0.4.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module(
name = "rules_pmd",
version = "0.4.1",
compatibility_level = 1,
repo_name = "bazel_rules_pmd",
)

pmd = use_extension("//pmd:extensions.bzl", "pmd")
use_repo(pmd, "net_sourceforge_pmd")

bazel_dep(name = "rules_java", version = "5.5.0")
bazel_dep(name = "bazel_skylib", version = "1.4.1", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.5.3", repo_name = "io_bazel_stardoc", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
12 changes: 12 additions & 0 deletions modules/rules_pmd/0.4.1/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_pmd",
- version = "0.4.0",
+ version = "0.4.1",
compatibility_level = 1,
repo_name = "bazel_rules_pmd",
)

11 changes: 11 additions & 0 deletions modules/rules_pmd/0.4.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
matrix:
platform: [ "macos", "ubuntu2004" ]

tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
build_flags:
- "--enable_bzlmod=true"
build_targets:
- "@rules_pmd//pmd/..."
9 changes: 9 additions & 0 deletions modules/rules_pmd/0.4.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-3988NW5cdDKMJyoed+wCJddkIzCK0ggmGhjbsoR0VHk=",
"strip_prefix": "bazel_rules_pmd-0.4.1",
"url": "https://github.com/buildfoundation/bazel_rules_pmd/releases/download/v0.4.1/bazel_rules_pmd-v0.4.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-4clGxd8qs8DZMpG6SlgMqutwQaRab2yZV3U+HODyZYY="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_pmd/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"github:buildfoundation/bazel_rules_pmd"
],
"versions": [
"0.4.0"
"0.4.0",
"0.4.1"
],
"yanked_versions": {}
}

0 comments on commit 9622706

Please sign in to comment.