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
11a0372a
Commit
11a0372a
authored
Jan 14, 2020
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version
parent
2cab5b46
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
32 deletions
+36
-32
build.gradle
service-template/build.gradle
+16
-14
settings.gradle
service-template/settings.gradle
+3
-3
build.gradle
web-template/build.gradle
+16
-14
settings.gradle
web-template/settings.gradle
+1
-1
No files found.
service-template/build.gradle
View file @
11a0372a
buildscript
{
buildscript
{
ext
{
springBootVersion
=
"1.5.22.RELEASE"
ext
[
"duibaExtVersion"
]
=
"1.3.25"
}
ext
[
"springBootVersion"
]
=
"1.5.22.RELEASE"
ext
[
"springCloudVersion"
]
=
"Edgware.SR6"
ext
[
"hazelcast.version"
]
=
"3.11"
repositories
{
repositories
{
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
...
@@ -9,17 +12,17 @@ buildscript {
...
@@ -9,17 +12,17 @@ buildscript {
mavenCentral
()
mavenCentral
()
mavenLocal
()
mavenLocal
()
}
}
dependencies
{
dependencies
{
classpath
"io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath
"io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath
"org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5"
//sonarqube
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath
"org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath
"org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath
"cn.com.duiba:duiba-gradle-plugin:0.1.7
"
classpath
"cn.com.duiba:duiba-gradle-plugin:0.1.9
"
}
}
}
}
plugins
{
apply
plugin:
"org.sonarqube"
id
'org.sonarqube'
version
'2.5'
}
sonarqube
{
sonarqube
{
properties
{
properties
{
property
"sonar.projectName"
,
"{artifactId}"
property
"sonar.projectName"
,
"{artifactId}"
...
@@ -29,8 +32,6 @@ sonarqube {
...
@@ -29,8 +32,6 @@ sonarqube {
}
}
}
}
ext
[
'hazelcast.version'
]=
'3.11'
allprojects
{
allprojects
{
apply
plugin:
"duiba.gradle.plugin"
apply
plugin:
"duiba.gradle.plugin"
apply
plugin:
"maven"
apply
plugin:
"maven"
...
@@ -56,18 +57,19 @@ subprojects {
...
@@ -56,18 +57,19 @@ subprojects {
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
'com.alibaba'
,
module:
'dubbo'
all
*.
exclude
group:
"com.alibaba"
,
module:
"dubbo"
}
}
dependencyManagement
{
dependencyManagement
{
dependencies
{
dependencies
{
imports
{
imports
{
mavenBom
"cn.com.duiba.boot:spring-boot-ext-dependencies:
1.3.25
"
mavenBom
"cn.com.duiba.boot:spring-boot-ext-dependencies:
${duibaExtVersion}
"
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:
Edgware.SR6
"
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:
${springCloudVersion}
"
}
}
}
}
}
}
repositories
{
repositories
{
...
...
service-template/settings.gradle
View file @
11a0372a
rootProject
.
name
=
'{artifactId}'
rootProject
.
name
=
"{artifactId}"
include
':{artifactId}-biz'
include
":{artifactId}-biz"
include
':{artifactId}-api'
include
":{artifactId}-api"
web-template/build.gradle
View file @
11a0372a
buildscript
{
buildscript
{
ext
{
springBootVersion
=
"1.5.22.RELEASE"
ext
[
"duibaExtVersion"
]
=
"1.3.25"
}
ext
[
"springBootVersion"
]
=
"1.5.22.RELEASE"
ext
[
"springCloudVersion"
]
=
"Edgware.SR6"
ext
[
"hazelcast.version"
]
=
"3.11"
repositories
{
repositories
{
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
...
@@ -9,17 +12,17 @@ buildscript {
...
@@ -9,17 +12,17 @@ buildscript {
mavenCentral
()
mavenCentral
()
mavenLocal
()
mavenLocal
()
}
}
dependencies
{
dependencies
{
classpath
"io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath
"io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
classpath
"org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5"
//sonarqube
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath
"org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath
"org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath
"cn.com.duiba:duiba-gradle-plugin:0.1.7
"
classpath
"cn.com.duiba:duiba-gradle-plugin:0.1.9
"
}
}
}
}
plugins
{
apply
plugin:
'org.sonarqube'
id
'org.sonarqube'
version
'2.5'
}
sonarqube
{
sonarqube
{
properties
{
properties
{
property
"sonar.projectName"
,
"{artifactId}"
property
"sonar.projectName"
,
"{artifactId}"
...
@@ -29,8 +32,6 @@ sonarqube {
...
@@ -29,8 +32,6 @@ sonarqube {
}
}
}
}
ext
[
'hazelcast.version'
]=
'3.11'
apply
plugin:
"duiba.gradle.plugin"
apply
plugin:
"duiba.gradle.plugin"
apply
plugin:
"maven"
apply
plugin:
"maven"
apply
plugin:
"java"
apply
plugin:
"java"
...
@@ -59,7 +60,7 @@ configurations {
...
@@ -59,7 +60,7 @@ configurations {
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"log4j"
,
module:
"log4j"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"org.slf4j"
,
module:
"slf4j-log4j12"
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
"javax.servlet"
,
module:
"servlet-api"
//servlet 2.5
all
*.
exclude
group:
'com.alibaba'
,
module:
'dubbo'
all
*.
exclude
group:
"com.alibaba"
,
module:
"dubbo"
}
}
repositories
{
repositories
{
...
@@ -71,14 +72,15 @@ repositories {
...
@@ -71,14 +72,15 @@ repositories {
}
}
dependencyManagement
{
dependencyManagement
{
dependencies
{
dependencies
{
imports
{
imports
{
mavenBom
"cn.com.duiba.boot:spring-boot-ext-dependencies:
1.3.25
"
mavenBom
"cn.com.duiba.boot:spring-boot-ext-dependencies:
${duibaExtVersion}
"
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:
Edgware.SR6
"
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:
${springCloudVersion}
"
}
}
}
}
}
}
dependencies
{
dependencies
{
...
...
web-template/settings.gradle
View file @
11a0372a
rootProject
.
name
=
'{artifactId}'
rootProject
.
name
=
"{artifactId}"
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