2 Star 1 Fork 0

Sylar/meJreLibs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
Sylar 提交于 2023-03-06 16:01 . 一些小优化
/** ******************************************************************************************/
buildscript {
repositories {
maven { url REPO_ALIYUN_GRADLE_PLUGIN }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootPluginVersion}"
classpath "gradle.plugin.org.jruyi.gradle:thrift-gradle-plugin:${thriftPluginVersion}"
classpath "gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:${gprcPluginVersion}"
}
}
/** ******************************************************************************************/
allprojects {
group rootProject.name
version meJreLibsVersion
repositories {
mavenLocal()
maven { url REPO_ALIYUN_PUBLIC }
maven {
credentials {
username REPO_ALIYUN_USERNAME
password REPO_ALIYUN_PASSWORD
}
url REPO_ALIYUN_RELAESE
}
maven {
credentials {
username REPO_USERNAME
password REPO_PASSWORD
}
url REPO_ALIYUN_SNAPSHOT
}
}
}
subprojects {
ext{
rootPath = rootProject.rootDir.getAbsolutePath()
gradlesPath = "${rootPath}/gradles/"
}
configurations {
//排除log4j
all*.exclude group: "org.slf4j", module: "log4j-over-slf4j"
all*.exclude group: "log4j", module: "log4j"
}
configurations.configureEach {
resolutionStrategy {
//强制统一依赖版本
force "com.google.guava:guava:${guavaVersion}"
force "io.netty:netty-all:${nettyVersion}"
force "com.ecwid.consul:consul-api:${consulVersion}"
force "org.apache.commons:commons-pool2:${commonsPool2Version}"
force "org.apache.commons:commons-lang3:${commonsLang3Version}"
force "org.apache.commons:commons-collections4:${commonsCollections4Version}"
force "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
force "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
force "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
}
}
}
/** ******************************************************************************************/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/TeaWar/meJreLibs.git
[email protected]:TeaWar/meJreLibs.git
TeaWar
meJreLibs
meJreLibs
master

搜索帮助