-
Notifications
You must be signed in to change notification settings - Fork 3
/
WORKSPACE
94 lines (77 loc) · 3.84 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
workspace(name = "hoteler")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_JVM_EXTERNAL_TAG = "5.2"
RULES_JVM_EXTERNAL_SHA ="f86fd42a809e1871ca0aabe89db0d440451219c3ce46c58da240c7dcdc00125f"
http_archive(
name = "rules_jvm_external",
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
sha256 = RULES_JVM_EXTERNAL_SHA,
urls = [
"https://github.com/bazelbuild/rules_jvm_external/releases/download/%s/rules_jvm_external-%s.tar.gz" % (RULES_JVM_EXTERNAL_TAG, RULES_JVM_EXTERNAL_TAG),
"https://mirror.ghproxy.com/https://github.com/bazelbuild/rules_jvm_external/releases/download/%s/rules_jvm_external-%s.tar.gz" % (RULES_JVM_EXTERNAL_TAG, RULES_JVM_EXTERNAL_TAG),
]
)
http_archive(
name = "rules_spring",
sha256 = "98143672b2edd2eb84762a6ebe6afc3a194d1ec06bdfaaf0cc87d4d750476db0",
urls = [
"https://github.com/salesforce/rules_spring/releases/download/2.6.1/rules-spring-2.6.1.zip",
"https://mirror.ghproxy.com/https://github.com/salesforce/rules_spring/releases/download/2.6.1/rules-spring-2.6.1.zip",
],
)
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
rules_jvm_external_deps()
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
rules_jvm_external_setup()
load("@rules_jvm_external//:defs.bzl", "maven_install")
Jsonwebtoken_Version = "0.12.5"
maven_install(
artifacts = [
"org.springframework.boot:spring-boot-starter-web:3.4.1",
"org.springframework.boot:spring-boot-starter-jdbc:3.4.1",
"org.springframework.boot:spring-boot-starter-aop:3.4.1",
"org.springframework.boot:spring-boot-starter-security:3.4.1",
"org.springframework.boot:spring-boot-starter-cache:3.4.1",
"org.springframework.boot:spring-boot-starter-actuator:3.4.1",
"org.springframework.boot:spring-boot-starter-data-redis:3.4.1",
"org.springframework.boot:spring-boot-starter-graphql:3.4.1",
"org.springframework.boot:spring-boot-starter-quartz:3.4.1",
"org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4",
"com.graphql-java:graphql-java-extended-scalars:2023-01-24T02-11-56-babda5f",
#"org.springframework.boot:spring-boot:3.2.2",
#"org.springframework.boot:spring-boot-starter:3.2.2",
"org.springframework.boot:spring-boot-loader:3.4.1",
"org.springframework.boot:spring-boot-loader-tools:3.4.1",
"org.postgresql:postgresql:42.7.4",
"org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0",
"io.jsonwebtoken:jjwt-api:%s" % (Jsonwebtoken_Version),
"io.jsonwebtoken:jjwt-impl:%s" % (Jsonwebtoken_Version),
"io.jsonwebtoken:jjwt-jackson:%s" % (Jsonwebtoken_Version),
"commons-codec:commons-codec:1.17.1",
"org.apache.commons:commons-lang3:3.17.0",
"jakarta.xml.bind:jakarta.xml.bind-api:4.0.2",
"org.glassfish.jaxb:jaxb-runtime:4.0.5",
"com.github.ben-manes.caffeine:caffeine:3.1.8",
"cn.hutool:hutool-crypto:5.8.35",
"org.yaml:snakeyaml:2.3",
"org.flywaydb:flyway-core:11.1.0",
"com.cronutils:cron-utils:9.2.1",
"org.bouncycastle:bcpkix-jdk18on:1.79",
"com.lmax:disruptor:4.0.0",
"org.springframework.boot:spring-boot-devtools:3.4.1",
"org.springframework.boot:spring-boot-starter-test:3.4.1",
"org.springframework.security:spring-security-test:6.3.4",
],
fetch_sources = True,
repositories = [
"https://maven.aliyun.com/repository/central",
"https://maven.aliyun.com/repository/public",
"https://repo1.maven.org/maven2",
"http://uk.maven.org/maven2",
"https://jcenter.bintray.com/",
"https://maven.google.com",
],
maven_install_json = "@//:maven_install.json",
)
load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()