| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 | 
							- 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-openapi"
 
- 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-openapi
 
- 		image = "${jibToImage}/maxkey-openapi"
 
- 		tags = ["${project.version}".toString(), 'latest']
 
- 		auth {
 
- 			username = "${jibToAuthUsername}"
 
- 			password = "${jibToAuthPassword}"
 
- 		}
 
- 		
 
- 	}
 
- 	container {
 
- 		mainClass 	= "org.dromara.maxkey.MaxKeyApiApplication"
 
- 		jvmFlags 	= ['-Dfile.encoding=utf-8', '-Dserver.port=9525','-Duser.timezone=Asia/Shanghai']
 
- 		ports	 	= ['9525']
 
- 	}
 
- }
 
- //build.configure { finalizedBy jib }
 
- dependencies {
 
- 	implementation project(":maxkey-commons:maxkey-cache")
 
- 	implementation project(":maxkey-commons:maxkey-common")
 
- 	implementation project(":maxkey-commons:maxkey-core")
 
- 	implementation project(":maxkey-commons:maxkey-crypto")
 
- 	
 
- 	implementation project(":maxkey-entity")
 
- 	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-authorize")
 
-    	implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
 
-    	implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")   
 
-    	
 
-    	//webapis
 
-    	implementation project(":maxkey-web-apis:maxkey-web-api-scim")   
 
-    	implementation project(":maxkey-web-apis:maxkey-web-api-rest")	
 
-    	
 
- }
 
 
  |