gradle build_
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
|
||||
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'}
|
||||
}
|
||||
}
|
||||
//docker
|
||||
@@ -13,19 +13,19 @@ plugins {
|
||||
|
||||
apply plugin: 'com.google.cloud.tools.jib'
|
||||
|
||||
description = "maxkey-web-manage"
|
||||
description = "maxkey-web-mgt"
|
||||
|
||||
jib {
|
||||
from {
|
||||
image = 'openjdk:8-jre-alpine'
|
||||
image = "${jibFromImage}"
|
||||
}
|
||||
to {
|
||||
//https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey-mgt
|
||||
image = "maxkeytop/maxkey-mgt"
|
||||
image = "${jibToImage}/maxkey-mgt"
|
||||
tags = ["${project.version}".toString(), 'latest']
|
||||
auth {
|
||||
username = "maxkeytop"
|
||||
password = "password"
|
||||
username = "${jibToAuthUsername}"
|
||||
password = "${jibToAuthPassword}"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -36,6 +36,8 @@ jib {
|
||||
}
|
||||
}
|
||||
|
||||
//build.configure { finalizedBy jib }
|
||||
|
||||
dependencies {
|
||||
implementation project(":maxkey-common")
|
||||
implementation project(":maxkey-core")
|
||||
|
||||
Reference in New Issue
Block a user