1 Star 0 Fork 1

飞扬/gateway_1

forked from shinstein/gateway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
shinstein 提交于 2023-09-12 11:15 . 微服务网关gateway
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
maven {
url 'https://maven.aliyun.com/repository/public/'
}
maven {
url 'https://maven.aliyun.com/repository/google/'
}
maven {
url 'https://maven.aliyun.com/repositories/jcenter'
}
maven {
url 'https://maven.aliyun.com/repository/central'
}
maven {
url "https://jitpack.io"
}
mavenCentral()
}
ext {
junitVersion = '4.12'
gatewayVersion = '3.1.8'
nacosVersion = '2021.1'
loadbalancerVersion = '3.1.7'
hutoolVersion = '5.8.21'
jwtVersion = '0.9.1'
lombokVersion = '1.18.24'
gsonVersion = '2.10.1'
}
dependencies {
testCompile "junit:junit:$junitVersion"
implementation "org.springframework.cloud:spring-cloud-starter-gateway:$gatewayVersion"
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:$nacosVersion"
implementation "org.springframework.cloud:spring-cloud-starter-loadbalancer:$loadbalancerVersion"
implementation "cn.hutool:hutool-all:$hutoolVersion"
implementation "io.jsonwebtoken:jjwt:$jwtVersion"
implementation "com.google.code.gson:gson:$gsonVersion"
// 为了解决 使用了slf4j 注解后 编译 log 符号不存在报错
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compileOnly "org.projectlombok:lombok:$lombokVersion"
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
}
// 解决编译时中文乱码问题
tasks.withType(JavaCompile) {
options.encoding = "utf-8"
}
tasks.withType(Javadoc) {
options.encoding = "utf-8"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/qyw8866/gateway_2.git
git@gitee.com:qyw8866/gateway_2.git
qyw8866
gateway_2
gateway_1
master

搜索帮助