-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from salesforce/plaird/bzlmod
BZLMOD: move repo to use bzlmod for everything, delete WORKSPACE
- Loading branch information
Showing
13 changed files
with
4,672 additions
and
8,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,73 @@ | ||
module( | ||
name = "rules_spring", | ||
version = "2.4.2", | ||
compatibility_level = 1, | ||
version = "2.5.0", | ||
compatibility_level = 2, | ||
repo_name = "rules_spring", | ||
) | ||
|
||
bazel_dep(name = "rules_python", version = "0.40.0") | ||
|
||
# For Dupe Class checking support | ||
# Python for dupe class checking support | ||
python = use_extension("@rules_python//python/extensions:python.bzl", "python") | ||
python.toolchain( | ||
is_default = True, | ||
python_version = "3.11", | ||
ignore_root_user_error = True, # https://github.com/bazelbuild/rules_python/issues/1169 | ||
) | ||
|
||
# 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") | ||
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") |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.