This commit is contained in:
MaxKey
2020-11-14 20:38:06 +08:00
parent 9b5e07075b
commit fbf3a8ce67
2 changed files with 18 additions and 10 deletions

View File

@@ -6,10 +6,7 @@ buildscript {
}
}
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
description = "maxkey-web-manage"
@@ -20,12 +17,18 @@ apply plugin: 'java'
//apply plugin: 'com.bmuschko.tomcat-base'
//apply plugin: 'com.bmuschko.tomcat'
/*
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
jib {
from {
image = 'adoptopenjdk:11-jre-openj9'
}
to {
image = "maxkey/maxkey-web-manage"
image = "maxkey/maxkey-mgt"
tags = ["${project.version}".toString(), 'latest']
}
container {
@@ -33,6 +36,7 @@ jib {
ports = ['80']
}
}
*/
dependencies {
compile project(":maxkey-core")

View File

@@ -6,10 +6,7 @@ buildscript {
}
}
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
description = "maxkey-web-maxkey"
@@ -20,12 +17,18 @@ apply plugin: 'java'
//apply plugin: 'com.bmuschko.tomcat-base'
//apply plugin: 'com.bmuschko.tomcat'
/*
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
jib {
from {
image = 'adoptopenjdk:11-jre-openj9'
}
to {
image = "maxkey/maxkey-web-maxkey"
image = "maxkey/maxkey"
tags = ["${project.version}".toString(), 'latest']
}
container {
@@ -33,6 +36,7 @@ jib {
ports = ['80']
}
}
*/
dependencies {
compile project(":maxkey-core")