123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- 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}"
- platforms {
- platform {
- architecture = 'amd64'
- os = 'linux'
- }
- platform {
- architecture = 'arm64'
- os = 'linux'
- }
- }
- }
- 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.dromara.maxkey.MaxKeyMgtApplication"
- jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=9526','-Duser.timezone=Asia/Shanghai']
- ports = ['9526']
- }
- }
- //build.configure { finalizedBy jib }
- dependencies {
- implementation project(":maxkey-common")
- implementation project(":maxkey-core")
- implementation project(":maxkey-persistence")
-
- implementation project(":maxkey-starter:maxkey-starter-captcha")
- implementation project(":maxkey-starter:maxkey-starter-ip2location")
- implementation project(":maxkey-starter:maxkey-starter-otp")
- implementation project(":maxkey-starter:maxkey-starter-sms")
- implementation project(":maxkey-starter:maxkey-starter-web")
-
- implementation project(":maxkey-authentications:maxkey-authentication-core")
- implementation project(":maxkey-authentications:maxkey-authentication-provider")
-
- implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
- implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")
-
- //synchronizers
- implementation project(":maxkey-synchronizers:maxkey-synchronizer")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-activedirectory")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-feishu")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-jdbc")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-ldap")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-workweixin")
- implementation project(":maxkey-synchronizers:maxkey-synchronizer-dingtalk")
-
-
- }
|