Files
MaxKey/maxkey-webs/maxkey-web-mgt/config/build_docker.gradle

65 lines
2.1 KiB
Groovy
Raw Normal View History

buildscript {
repositories {
2021-09-08 22:27:59 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'}
}
}
//docker
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version "${jibGradlePluginVersion}"
id 'org.springframework.boot' version "${springBootVersion}"
}
apply plugin: 'com.google.cloud.tools.jib'
2021-09-08 22:27:59 +08:00
description = "maxkey-web-mgt"
jib {
from {
2021-09-08 22:27:59 +08:00
image = "${jibFromImage}"
}
to {
//https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey-mgt
2021-09-08 22:27:59 +08:00
image = "${jibToImage}/maxkey-mgt"
tags = ["${project.version}".toString(), 'latest']
auth {
2021-09-08 22:27:59 +08:00
username = "${jibToAuthUsername}"
password = "${jibToAuthPassword}"
}
}
container {
mainClass = "org.maxkey.MaxKeyMgtApplication"
2022-05-06 08:50:50 +08:00
jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=9526','-Duser.timezone=Asia/Shanghai']
ports = ['9526']
}
}
2021-09-08 22:27:59 +08:00
//build.configure { finalizedBy jib }
dependencies {
2021-04-17 09:44:10 +08:00
implementation project(":maxkey-common")
implementation project(":maxkey-core")
implementation project(":maxkey-persistence")
2021-04-17 09:44:10 +08:00
implementation project(":maxkey-authentications:maxkey-authentication-core")
implementation project(":maxkey-authentications:maxkey-authentication-captcha")
implementation project(":maxkey-authentications:maxkey-authentication-otp")
2022-08-05 06:50:32 +08:00
implementation project(":maxkey-authentications:maxkey-authentication-provider")
implementation project(":maxkey-authentications:maxkey-authentication-sms")
2021-09-08 18:30:54 +08:00
2021-04-17 09:44:10 +08:00
implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
2022-01-23 08:12:25 +08:00
//synchronizers
implementation project(":maxkey-synchronizers:maxkey-synchronizer")
implementation project(":maxkey-synchronizers:maxkey-synchronizer-activedirectory")
2022-01-23 14:13:49 +08:00
implementation project(":maxkey-synchronizers:maxkey-synchronizer-feishu")
2022-10-16 17:23:34 +08:00
implementation project(":maxkey-synchronizers:maxkey-synchronizer-jdbc")
2022-01-23 08:12:25 +08:00
implementation project(":maxkey-synchronizers:maxkey-synchronizer-ldap")
implementation project(":maxkey-synchronizers:maxkey-synchronizer-workweixin")
implementation project(":maxkey-synchronizers:maxkey-synchronizer-dingtalk")
2021-09-08 18:30:54 +08:00
}