-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshared.gradle
More file actions
36 lines (31 loc) · 1.11 KB
/
shared.gradle
File metadata and controls
36 lines (31 loc) · 1.11 KB
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
// 定义依赖解析的仓库
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven{url = "https://repo.spring.io/milestone"}
maven{url = "https://repo.spring.io/snapshot"}
}
patchPluginXml {
version = project.version
sinceBuild = '231.7'
untilBuild = '243.*'
}
ext.filterPlugins = { plugins ->
if (project.property('ideaVersion') == '2024.1.1') {
return plugins.findAll { it != 'java' }
} else {
return plugins
}
}
configurations.configureEach {
exclude group: 'org.apache.logging.log4j', module: 'log4j-core'
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: 'io.rest-assured', module: 'json-path'
exclude group: 'ch.qos.logback', module: 'logback-classic'
exclude group: 'ch.qos.logback', module: 'logback-core'
exclude group: 'org.springframework.cloud', module: 'spring-cloud-function-context'
exclude group: 'ch.qos.logback', module: 'spring-cloud-function-core'
}