Skip to content

Commit

Permalink
Publish buildfoundation/[email protected] (#984)
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 6, 2023
1 parent 8cfa647 commit 2c72c1f
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
33 changes: 33 additions & 0 deletions modules/rules_detekt/0.8.1.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module(
name = "rules_detekt",
version = "0.8.1.1",
compatibility_level = 1,
repo_name = "bazel_rules_detekt",
)

register_toolchains("//detekt:default_toolchain")

detekt = use_extension("//detekt:extensions.bzl", "detekt")
use_repo(detekt, "detekt_cli_all")

bazel_dep(name = "rules_java", version = "5.5.0")
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
bazel_dep(name = "rules_jvm_external", version = "5.3")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "rules_detekt_dependencies",
artifacts = [
"com.squareup.moshi:moshi:1.14.0",
"com.squareup.okio:okio-jvm:3.2.0",
"io.reactivex.rxjava3:rxjava:3.0.12",
"junit:junit:4.13.2",
"io.gitlab.arturbosch.detekt:detekt-formatting:1.23.1",
],
fail_if_repin_required = True,
lock_file = "//:maven_install.json",
)
use_repo(maven, "rules_detekt_dependencies", "unpinned_rules_detekt_dependencies")

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)
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_detekt",
- version = "0.8.0",
+ version = "0.8.1.1",
compatibility_level = 1,
repo_name = "bazel_rules_detekt",
)

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

tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
build_flags:
- "--enable_bzlmod=true"
test_flags:
- "--enable_bzlmod=true"
build_targets:
- "@rules_detekt//detekt/..."
test_targets:
- "@rules_detekt//detekt/..."
9 changes: 9 additions & 0 deletions modules/rules_detekt/0.8.1.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-lGiRlz3BO/aLjA0+jHwZZ90fhkJIEnaTTL536cNiyEw=",
"strip_prefix": "bazel_rules_detekt-0.8.1.1",
"url": "https://github.com/buildfoundation/bazel_rules_detekt/releases/download/v0.8.1.1/bazel_rules_detekt-v0.8.1.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-ocowYauHEVLNegkzlzMMAwtGmaBIFC2sx3MG6p31O6A="
},
"patch_strip": 1
}
22 changes: 22 additions & 0 deletions modules/rules_detekt/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "https://github.com/buildfoundation/bazel_rules_detekt",
"maintainers": [
{
"email": "[email protected]",
"github": "Bencodes",
"name": "Ben Lee"
},
{
"email": "[email protected]",
"github": "artem-zinnatullin ",
"name": "Artem Zinnatullin"
}
],
"repository": [
"github:buildfoundation/bazel_rules_detekt"
],
"versions": [
"0.8.1.1"
],
"yanked_versions": {}
}

0 comments on commit 2c72c1f

Please sign in to comment.