Commit d2991ac1 authored by ziy's avatar ziy
parents 91f58396 421bb185
buildscript {
repositories {
maven { url "https://maven.aliyun.com/repository/central" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
}
dependencies {
classpath "gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:1.1.1"
}
}
apply plugin: com.google.cloud.tools.jib.gradle.JibPlugin
//apply plugin: com.google.cloud.tools.jib
def registryAddress = project.getProperties().get('isProd') == "prod" ?'172.17.200.123:5000':'172.16.22.5:5000'
jib {
from {
image = 'an0nymous/openjdk8-openj9:slim'
}
to {
image = "${registryAddress}/${project.group}-${jar.baseName}"
}
allowInsecureRegistries = true
}
\ No newline at end of file
buildscript {
ext {
springBootVersion = '2.1.3.RELEASE'
springBootVersion = '2.1.4.RELEASE'
}
repositories {
maven { url "https://maven.aliyun.com/repository/central" }
......@@ -22,7 +22,7 @@ repositories {
}
ext {
set('springCloudVersion', 'Greenwich.RELEASE')
set('springCloudVersion', 'Greenwich.SR1')
}
dependencies {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment