12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- buildscript {
- repositories {
- 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'
- description = "maxkey-web-mgt"
- jib {
- from {
- image = "${jibFromImage}"
- }
- to {
- //https://registry.hub.docker.com/repository/docker/maxkeytop/maxkey-mgt
- image = "${jibToImage}/maxkey-mgt"
- tags = ["${project.version}".toString(), 'latest']
- auth {
- username = "${jibToAuthUsername}"
- password = "${jibToAuthPassword}"
- }
-
- }
- container {
- mainClass = "org.maxkey.MaxKeyMgtApplication"
- jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=9527','-Duser.timezone=Asia/Shanghai']
- ports = ['9527']
- }
- }
- //build.configure { finalizedBy jib }
- dependencies {
- implementation project(":maxkey-common")
- implementation project(":maxkey-core")
- implementation project(":maxkey-persistence")
-
- implementation project(":maxkey-authentications:maxkey-authentication-core")
- implementation project(":maxkey-authentications:maxkey-authentication-captcha")
- implementation project(":maxkey-authentications:maxkey-authentication-otp")
-
- implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
- implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
-
- //identity
- implementation project(":maxkey-identitys:maxkey-identity-scim")
- implementation project(":maxkey-identitys:maxkey-identity-rest")
- implementation project(":maxkey-identitys:maxkey-synchronizers")
- implementation project(":maxkey-identitys:maxkey-synchronizers-activedirectory")
- implementation project(":maxkey-identitys:maxkey-synchronizers-ldap")
- implementation project(":maxkey-identitys:maxkey-synchronizers-workweixin")
- implementation project(":maxkey-identitys:maxkey-synchronizers-dingding")
-
- implementation project(":maxkey-webs:maxkey-web-resources")
-
- }
|