Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
project-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭燕飞
project-template
Commits
cea7e45e
Commit
cea7e45e
authored
Aug 16, 2021
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决SNAPSHOT不找最新版的问题
parent
187d1f3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
16 deletions
+24
-16
build.gradle
service-template/build.gradle
+12
-8
build.gradle
web-template/build.gradle
+12
-8
No files found.
service-template/build.gradle
View file @
cea7e45e
buildscript
{
ext
[
"duibaExtVersion"
]
=
"2.0.0-h6
3
"
ext
[
"duibaExtVersion"
]
=
"2.0.0-h6
9
"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"hazelcast.version"
]
=
"3.11"
...
...
@@ -57,13 +57,17 @@ subprojects {
sourceCompatibility
=
1.8
targetCompatibility
=
1.8
configurations
{
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
"com.alibaba"
,
module:
"dubbo"
all
*.
exclude
group:
"com.fasterxml.jackson.dataformat"
,
module:
"jackson-dataformat-xml"
all
*.
exclude
group:
"com.zaxxer"
,
module:
"HikariCP-java7"
configurations
.
all
{
exclude
group:
"log4j"
,
module:
"log4j"
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
exclude
group:
"com.fasterxml.jackson.dataformat"
,
module:
"jackson-dataformat-xml"
exclude
group:
"com.alibaba"
,
module:
"dubbo"
exclude
group:
"com.zaxxer"
,
module:
"HikariCP-java7"
resolutionStrategy
{
// 解决SNAPSHOT包不拉最新版的问题
resolutionStrategy
.
cacheChangingModulesFor
0
,
'seconds'
}
}
dependencyManagement
{
...
...
web-template/build.gradle
View file @
cea7e45e
buildscript
{
ext
[
"duibaExtVersion"
]
=
"2.0.0-h6
3
"
ext
[
"duibaExtVersion"
]
=
"2.0.0-h6
9
"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"hazelcast.version"
]
=
"3.11"
...
...
@@ -60,13 +60,17 @@ bootJar {
archiveName
=
"{artifactId}.jar"
}
configurations
{
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
"com.alibaba"
,
module:
"dubbo"
all
*.
exclude
group:
"com.fasterxml.jackson.dataformat"
,
module:
"jackson-dataformat-xml"
all
*.
exclude
group:
"com.zaxxer"
,
module:
"HikariCP-java7"
configurations
.
all
{
exclude
group:
"log4j"
,
module:
"log4j"
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
exclude
group:
"com.fasterxml.jackson.dataformat"
,
module:
"jackson-dataformat-xml"
exclude
group:
"com.alibaba"
,
module:
"dubbo"
exclude
group:
"com.zaxxer"
,
module:
"HikariCP-java7"
resolutionStrategy
{
// 解决SNAPSHOT包不拉最新版的问题
resolutionStrategy
.
cacheChangingModulesFor
0
,
'seconds'
}
}
repositories
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment