2020-11-03 19:25:46 +08:00
|
|
|
buildscript {
|
|
|
|
|
repositories {
|
|
|
|
|
jcenter()
|
|
|
|
|
}
|
|
|
|
|
dependencies {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-14 20:38:06 +08:00
|
|
|
|
2020-11-03 19:25:46 +08:00
|
|
|
|
2019-04-29 23:53:10 +08:00
|
|
|
description = "maxkey-web-manage"
|
|
|
|
|
|
2019-12-09 00:25:20 +08:00
|
|
|
// Apply the java plugin to add support for Java
|
|
|
|
|
apply plugin: 'java'
|
2019-11-10 12:38:42 +08:00
|
|
|
//apply plugin: 'war'
|
2020-07-08 08:26:18 +08:00
|
|
|
//apply plugin: 'eclipse-wtp'
|
|
|
|
|
//apply plugin: 'com.bmuschko.tomcat-base'
|
|
|
|
|
//apply plugin: 'com.bmuschko.tomcat'
|
2019-12-09 00:25:20 +08:00
|
|
|
|
2020-11-14 20:38:06 +08:00
|
|
|
/*
|
|
|
|
|
plugins {
|
|
|
|
|
id 'com.google.cloud.tools.jib' version '2.6.0'
|
|
|
|
|
id 'org.springframework.boot' version '2.3.4.RELEASE'
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-03 19:25:46 +08:00
|
|
|
jib {
|
|
|
|
|
from {
|
|
|
|
|
image = 'adoptopenjdk:11-jre-openj9'
|
|
|
|
|
}
|
|
|
|
|
to {
|
2020-11-14 20:38:06 +08:00
|
|
|
image = "maxkey/maxkey-mgt"
|
2020-11-03 19:25:46 +08:00
|
|
|
tags = ["${project.version}".toString(), 'latest']
|
|
|
|
|
}
|
|
|
|
|
container {
|
|
|
|
|
jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=80']
|
|
|
|
|
ports = ['80']
|
|
|
|
|
}
|
2019-12-09 00:25:20 +08:00
|
|
|
}
|
2020-11-14 20:38:06 +08:00
|
|
|
*/
|
2019-04-29 23:53:10 +08:00
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
compile project(":maxkey-core")
|
2020-06-27 11:21:44 +08:00
|
|
|
compile project(":maxkey-persistence")
|
2019-04-29 23:53:10 +08:00
|
|
|
compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
|
2020-06-13 12:29:27 +08:00
|
|
|
compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
|
2020-06-14 13:05:49 +08:00
|
|
|
compile project(":maxkey-identitys:maxkey-identity-scim")
|
|
|
|
|
compile project(":maxkey-identitys:maxkey-identity-kafka")
|
2020-06-25 10:13:00 +08:00
|
|
|
compile project(":maxkey-identitys:maxkey-identity-rest")
|
2019-04-29 23:53:10 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-08 08:26:18 +08:00
|
|
|
/*
|
2019-04-29 23:53:10 +08:00
|
|
|
eclipse {
|
|
|
|
|
|
|
|
|
|
wtp {
|
|
|
|
|
component {
|
|
|
|
|
|
|
|
|
|
//define context path, default to project folder name
|
2019-06-28 07:33:01 +08:00
|
|
|
contextPath = 'maxkey-mgt'
|
2019-04-29 23:53:10 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2020-07-08 08:26:18 +08:00
|
|
|
}*/
|