Skip to content

Commit

Permalink
rules_spring 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
plaird committed Dec 22, 2024
1 parent 4997860 commit f8ba38f
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 0 deletions.
67 changes: 67 additions & 0 deletions modules/rules_spring/2.6.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
module(
name = "rules_spring",
version = "2.6.0",
compatibility_level = 2,
repo_name = "rules_spring",
)

# Python for dupe class checking support
bazel_dep(name = "rules_python", version = "0.40.0")

# For License support
bazel_dep(name = "rules_license", version = "1.0.0")


# DEV DEPENDENCIES

# Maven dependencies for the examples
bazel_dep(name = "rules_jvm_external", version = "6.6", dev_dependency = True)
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven", dev_dependency = True)
maven.install(
artifacts = [
"org.slf4j:slf4j-api:2.0.13",
"org.springframework.boot:spring-boot:3.3.5",
"org.springframework.boot:spring-boot-actuator:3.3.5",
"org.springframework.boot:spring-boot-actuator-autoconfigure:3.3.5",
"org.springframework.boot:spring-boot-autoconfigure:3.3.5",
"org.springframework.boot:spring-boot-configuration-processor:3.3.5",
"org.springframework.boot:spring-boot-loader:3.3.5",
"org.springframework.boot:spring-boot-loader-tools:3.3.5",
"org.springframework.boot:spring-boot-starter:3.3.5",
"org.springframework.boot:spring-boot-starter-actuator:3.3.5",
"org.springframework.boot:spring-boot-starter-freemarker:3.3.5",
"org.springframework.boot:spring-boot-starter-jdbc:3.3.5",
"org.springframework.boot:spring-boot-starter-jetty:3.3.5",
"org.springframework.boot:spring-boot-starter-logging:3.3.5",
"org.springframework.boot:spring-boot-starter-security:3.3.5",
"org.springframework.boot:spring-boot-starter-test:3.3.5",
"org.springframework.boot:spring-boot-starter-web:3.3.5",
"org.springframework.boot:spring-boot-test:3.3.5",
"org.springframework.boot:spring-boot-test-autoconfigure:3.3.5",
"org.springframework.boot:spring-boot-starter-thymeleaf:3.3.5",

"org.springframework:spring-aop:6.1.14",
"org.springframework:spring-aspects:6.1.14",
"org.springframework:spring-beans:6.1.14",
"org.springframework:spring-context:6.1.14",
"org.springframework:spring-context-support:6.1.14",
"org.springframework:spring-core:6.1.14",
"org.springframework:spring-expression:6.1.14",
"org.springframework:spring-jdbc:6.1.14",
"org.springframework:spring-test:6.1.14",
"org.springframework:spring-tx:6.1.14",
"org.springframework:spring-web:6.1.14",
"org.springframework:spring-webmvc:6.1.14",

# intentionally ancient version annotation-api; in demoapp we use
# a filter to exclude this dependency
"javax.annotation:javax.annotation-api:1.3.2",

# test deps
"junit:junit:4.13.2",
"org.hamcrest:hamcrest-core:2.2",
],
lock_file = "//:maven_install.json",
)

use_repo(maven, "maven")
34 changes: 34 additions & 0 deletions modules/rules_spring/2.6.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel: [7.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_spring//springboot:springboot_cli'
bcr_test_module:
module_path: //examples
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel: [7.x, rolling]
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- //examples/demoapp:demoapp
- //examples/helloworld:helloworld
test_targets:
- //examples/demoapp:SampleRestFuncTest
- //examples/helloworld:SampleRestFuncTest
5 changes: 5 additions & 0 deletions modules/rules_spring/2.6.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/salesforce/rules_spring/archive/refs/tags/2.6.0.tar.gz",
"integrity": "sha256-stvlnezb8RWbVMFkST9SpH+2x6Z8HeUhkvY1awTZlJs=",
"strip_prefix": "rules_spring-2.6.0"
}
17 changes: 17 additions & 0 deletions modules/rules_spring/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/salesforce/rules_spring",
"maintainers": [
{
"email": "[email protected]",
"github": "plaird",
"name": "Peter Laird"
}
],
"repository": [
"github:salesforce/rules_spring"
],
"versions": [
"2.6.0"
],
"yanked_versions": {}
}

0 comments on commit f8ba38f

Please sign in to comment.