build_jar.gradle 2.3 KB
Newer Older
M
MaxKey 已提交
1 2
buildscript {
	repositories {
M
MaxKey 已提交
3
		maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'}
M
MaxKey 已提交
4 5 6 7 8 9 10 11 12 13 14 15
	}
	dependencies {
		//springboot jar
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
	}
}

plugins {
	id 'org.springframework.boot' version "${springBootVersion}"
	id "io.spring.dependency-management" version "1.0.11.RELEASE"
}

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
16
description = "maxkey-web-mgt"
M
MaxKey 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

//springboot jar
apply plugin: 'io.spring.dependency-management'

//add support for Java
apply plugin: 'java'



bootJar {
	dependsOn jar
	baseName = 'maxkey-mgt-boot'
    version = "${project.version}-ga"
    mainClass = 'org.maxkey.MaxKeyMgtApplication'
	manifest {
	        attributes(
						"Implementation-Title": project.name,
	                	"Implementation-Vendor": project.vendor,
	                	"Created-By": project.author,
	                	"Implementation-Date": java.time.ZonedDateTime.now(),
	                	"Implementation-Version": project.version
	           )
	    }	
}

dependencies {
M
MaxKey 已提交
43 44 45
	implementation project(":maxkey-common")
	implementation project(":maxkey-core")
	implementation project(":maxkey-persistence")
M
MaxKey 已提交
46
	
M
MaxKey 已提交
47 48 49
	implementation project(":maxkey-authentications:maxkey-authentication-core")
	implementation project(":maxkey-authentications:maxkey-authentication-captcha")
	implementation project(":maxkey-authentications:maxkey-authentication-otp")
M
MaxKey 已提交
50
	implementation project(":maxkey-authentications:maxkey-authentication-provider")
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
51
	
M
MaxKey 已提交
52 53
   	implementation project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
   	implementation project(":maxkey-protocols:maxkey-protocol-saml-2.0")   
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
54
   	
M
MaxKey 已提交
55 56 57
   	//webapis
   	implementation project(":maxkey-webapis:maxkey-webapi-scim")   
   	implementation project(":maxkey-webapis:maxkey-webapi-rest")	
M
MaxKey 已提交
58 59 60 61
	
	//synchronizers
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer")
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-activedirectory")
M
MaxKey 已提交
62
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-feishu")
M
MaxKey 已提交
63
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-jdbc")
M
MaxKey 已提交
64 65 66
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-ldap")
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-workweixin")
   	implementation project(":maxkey-synchronizers:maxkey-synchronizer-dingtalk")
M
MaxKey 已提交
67
}