gradle build_

This commit is contained in:
Crystal.Sea
2021-09-08 22:27:59 +08:00
parent ec9a82b35d
commit 3ab5d6db5c
17 changed files with 142 additions and 124 deletions

View File

@@ -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")