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
b0c99fed
Commit
b0c99fed
authored
Aug 02, 2018
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
23605a25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
33 deletions
+30
-33
build.gradle
service-template/apiModule/build.gradle
+3
-3
build.gradle
service-template/build.gradle
+11
-16
build.gradle
web-template/build.gradle
+16
-14
No files found.
service-template/apiModule/build.gradle
View file @
b0c99fed
description
=
'{artifactId}-api'
dependencies
{
provided
(
'cn.com.duiba:wolf'
)
provided
(
'cn.com.duiba.boot:spring-boot-ext-api'
)
provided
(
'org.springframework:spring-web'
)
provided
'cn.com.duiba:wolf'
provided
'cn.com.duiba.boot:spring-boot-ext-api'
provided
'org.springframework:spring-web'
}
service-template/build.gradle
View file @
b0c99fed
...
...
@@ -4,16 +4,17 @@ buildscript {
}
repositories
{
mavenLocal
()
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
maven
{
url
'http://nexus.dui88.com:8081/nexus/content/groups/public/'
}
maven
{
url
'https://plugins.gradle.org/m2/'
}
//sonarqube
maven
{
url
'http://repo.spring.io/plugins-release'
}
mavenCentral
()
}
dependencies
{
classpath
"io.spring.gradle:dependency-management-plugin:0.6.1.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
'cn.com.duiba:duiba-gradle-plugin:0.1.7'
}
}
...
...
@@ -24,7 +25,7 @@ allprojects {
apply
plugin:
'idea'
apply
plugin:
'eclipse'
apply
plugin:
'jacoco'
apply
plugin:
"io.spring.dependency-management"
apply
plugin:
'io.spring.dependency-management'
apply
plugin:
'propdeps'
test
{
ignoreFailures
=
true
...
...
@@ -51,18 +52,12 @@ subprojects {
mavenBom
'cn.com.duiba.boot:spring-boot-ext-dependencies:1.2.200'
mavenBom
'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR4'
}
dependency
'com.alibaba:fastjson:1.2.47'
dependency
'mysql:mysql-connector-java:5.1.9'
dependency
'javax.validation:validation-api:1.1.0.Final'
}
}
repositories
{
mavenLocal
()
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
'http://nexus.dui88.com:8081/nexus/content/groups/public/'
}
mavenCentral
()
}
...
...
@@ -70,11 +65,11 @@ subprojects {
uploadArchives
{
repositories
{
mavenDeployer
{
snapshotRepository
(
url:
"http://nexus.dui88.com:8081/nexus/content/repositories/snapshots/"
)
{
authentication
(
userName:
"admin"
,
password:
"admin123"
)
snapshotRepository
(
url:
'http://nexus.dui88.com:8081/nexus/content/repositories/snapshots/'
)
{
authentication
(
userName:
'admin'
,
password:
'admin123'
)
}
repository
(
url:
"http://nexus.dui88.com:8081/nexus/content/repositories/releases/"
)
{
authentication
(
userName:
"admin"
,
password:
"admin123"
)
repository
(
url:
'http://nexus.dui88.com:8081/nexus/content/repositories/releases/'
)
{
authentication
(
userName:
'admin'
,
password:
'admin123'
)
}
pom
.
project
{
...
...
web-template/build.gradle
View file @
b0c99fed
...
...
@@ -7,25 +7,27 @@ buildscript {
}
repositories
{
mavenLocal
()
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
maven
{
url
'http://nexus.dui88.com:8081/nexus/content/groups/public/'
}
maven
{
url
'https://plugins.gradle.org/m2/'
}
//sonarqube
maven
{
url
'http://repo.spring.io/plugins-release'
}
mavenCentral
()
}
dependencies
{
classpath
"io.spring.gradle:dependency-management-plugin:0.6.1.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
'cn.com.duiba:duiba-gradle-plugin:0.1.7'
}
}
apply
plugin:
'duiba.gradle.plugin'
apply
plugin:
'maven'
apply
plugin:
'java'
apply
plugin:
'idea'
apply
plugin:
'eclipse'
apply
plugin:
'jacoco'
apply
plugin:
"io.spring.dependency-management"
apply
plugin:
'io.spring.dependency-management'
apply
plugin:
'org.springframework.boot'
apply
plugin:
'propdeps'
test
{
...
...
@@ -51,8 +53,8 @@ configurations {
repositories
{
mavenLocal
()
maven
{
url
"http://nexus.dui88.com:8081/nexus/content/groups/public/"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
//sonarqube
maven
{
url
'http://nexus.dui88.com:8081/nexus/content/groups/public/'
}
maven
{
url
'https://plugins.gradle.org/m2/'
}
//sonarqube
maven
{
url
'http://repo.spring.io/plugins-release'
}
mavenCentral
()
}
...
...
@@ -62,7 +64,7 @@ dependencyManagement {
imports
{
mavenBom
'cn.com.duiba.boot:spring-boot-ext-dependencies:1.2.200'
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
'org.springframework.boot:spring-boot-dependencies:${springBootVersion}'
mavenBom
'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR4'
}
}
...
...
@@ -82,12 +84,12 @@ dependencies {
compile
'org.springframework.cloud:spring-cloud-starter-netflix-ribbon'
compile
'org.springframework.cloud:spring-cloud-starter-openfeign'
compile
'javax.validation:validation-api
:1.1.0.Final
'
compile
'javax.validation:validation-api'
compile
'io.springfox:springfox-swagger-ui:2.5.0'
compile
'io.springfox:springfox-swagger2:2.5.0'
compile
'com.alibaba:fastjson
:1.2.47
'
compile
'com.alibaba:fastjson'
testCompile
'org.springframework.boot:spring-boot-starter-test'
}
...
...
@@ -102,11 +104,11 @@ uploadArchives {//
uploadArchives
{
repositories
{
mavenDeployer
{
snapshotRepository
(
url:
"http://nexus.dui88.com:8081/nexus/content/repositories/snapshots/"
)
{
authentication
(
userName:
"admin"
,
password:
"admin123"
)
snapshotRepository
(
url:
'http://nexus.dui88.com:8081/nexus/content/repositories/snapshots/'
)
{
authentication
(
userName:
'admin'
,
password:
'admin123'
)
}
repository
(
url:
"http://nexus.dui88.com:8081/nexus/content/repositories/releases/"
)
{
authentication
(
userName:
"admin"
,
password:
"admin123"
)
repository
(
url:
'http://nexus.dui88.com:8081/nexus/content/repositories/releases/'
)
{
authentication
(
userName:
'admin'
,
password:
'admin123'
)
}
pom
.
project
{
...
...
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