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
fd18f956
Commit
fd18f956
authored
Jun 16, 2022
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7fbd1ca7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
14 deletions
+12
-14
build.gradle
service-template/apiModule/build.gradle
+4
-4
application.properties
...plate/bizModule/src/main/resources/application.properties
+1
-1
build.gradle
service-template/build.gradle
+3
-4
build.gradle
web-template/build.gradle
+3
-4
application.properties
web-template/src/main/resources/application.properties
+1
-1
No files found.
service-template/apiModule/build.gradle
View file @
fd18f956
description
=
"{artifactId}-api"
description
=
"{artifactId}-api"
dependencies
{
dependencies
{
provided
"cn.com.duiba:wolf"
compileOnly
"cn.com.duiba:wolf"
provided
"cn.com.duiba.boot:spring-boot-ext-api"
compileOnly
"cn.com.duiba.boot:spring-boot-ext-api"
provided
"org.springframework:spring-web"
compileOnly
"org.springframework:spring-web"
compileOnly
"org.projectlombok:lombok"
compileOnly
"org.projectlombok:lombok"
annotationProcessor
"org.projectlombok:lombok"
annotationProcessor
"org.projectlombok:lombok"
...
...
service-template/bizModule/src/main/resources/application.properties
View file @
fd18f956
...
@@ -6,5 +6,5 @@ server.tomcat.uri-encoding=UTF-8
...
@@ -6,5 +6,5 @@ server.tomcat.uri-encoding=UTF-8
# logging
# logging
logging.file.path
=
${user.home}/logs/{artifactId}
logging.file.path
=
${user.home}/logs/{artifactId}
# feign
的序列化方式默认使用
hessian2
# feign
serialization
hessian2
duiba.feign.serialization
=
hessian2
duiba.feign.serialization
=
hessian2
service-template/build.gradle
View file @
fd18f956
buildscript
{
buildscript
{
ext
[
"duibaExtVersion"
]
=
"2.0.0-h
74
"
ext
[
"duibaExtVersion"
]
=
"2.0.0-h
80
"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"curator.version"
]
=
"2.13.0"
ext
[
"guava.version"
]
=
"28.2-jre"
ext
[
"guava.version"
]
=
"28.2-jre"
ext
[
"lombok.version"
]
=
"1.18.12"
ext
[
"lombok.version"
]
=
"1.18.12"
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/"
}
maven
{
url
"http://repo.spring.io/plugins-release"
}
maven
{
url
"http://repo.spring.io/plugins-release"
}
mavenCentral
()
mavenCentral
()
mavenLocal
()
mavenLocal
()
...
@@ -17,7 +16,7 @@ buildscript {
...
@@ -17,7 +16,7 @@ buildscript {
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:3.0"
//sonarqube
classpath
"org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
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
"gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
classpath
"gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
...
...
web-template/build.gradle
View file @
fd18f956
buildscript
{
buildscript
{
ext
[
"duibaExtVersion"
]
=
"2.0.0-h
74
"
ext
[
"duibaExtVersion"
]
=
"2.0.0-h
80
"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springBootVersion"
]
=
"2.2.7.RELEASE"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"springCloudVersion"
]
=
"Hoxton.SR6"
ext
[
"curator.version"
]
=
"2.13.0"
ext
[
"guava.version"
]
=
"28.2-jre"
ext
[
"guava.version"
]
=
"28.2-jre"
ext
[
"lombok.version"
]
=
"1.18.12"
ext
[
"lombok.version"
]
=
"1.18.12"
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/"
}
maven
{
url
"http://repo.spring.io/plugins-release"
}
maven
{
url
"http://repo.spring.io/plugins-release"
}
mavenCentral
()
mavenCentral
()
mavenLocal
()
mavenLocal
()
...
@@ -17,7 +16,7 @@ buildscript {
...
@@ -17,7 +16,7 @@ buildscript {
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:3.0"
//sonarqube
classpath
"org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
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
"gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
classpath
"gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:2.5.0"
...
...
web-template/src/main/resources/application.properties
View file @
fd18f956
...
@@ -9,5 +9,5 @@ logging.file.path=${user.home}/logs/{artifactId}
...
@@ -9,5 +9,5 @@ logging.file.path=${user.home}/logs/{artifactId}
# swagger
# swagger
{artifactIdPackage}
.swagger.enable
=
true
{artifactIdPackage}
.swagger.enable
=
true
# feign
的序列化方式默认使用
hessian2
# feign
serialization
hessian2
duiba.feign.serialization
=
hessian2
duiba.feign.serialization
=
hessian2
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