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