Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nice-gradle-config
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
JIRA
JIRA
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
nice.base
nice-gradle-config
Commits
561e7a8b
Commit
561e7a8b
authored
Mar 16, 2019
by
ziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add bz docker ip
parent
dbc668e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
docker-nice-cz.gradle
docker-nice-cz.gradle
+10
-0
No files found.
docker-nice-cz.gradle
View file @
561e7a8b
buildscript
{
repositories
{
maven
{
url
"https://maven.aliyun.com/repository/central"
}
maven
{
url
"https://plugins.gradle.org/m2/"
}
mavenCentral
()
}
dependencies
{
classpath
(
'gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.21.0'
)
}
}
apply
plugin:
com
.
palantir
.
gradle
.
docker
.
PalantirDockerPlugin
apply
plugin:
com
.
palantir
.
gradle
.
docker
.
PalantirDockerPlugin
def
registryAddress
=
project
.
getProperties
().
get
(
'isProd'
)
==
"prod"
?
'172.17.200.123:5000'
:
'172.16.22.3:5000'
def
registryAddress
=
project
.
getProperties
().
get
(
'isProd'
)
==
"prod"
?
'172.17.200.123:5000'
:
'172.16.22.3:5000'
...
...
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