release docker bootjar standard

release docker bootjar standard
This commit is contained in:
MaxKey
2021-03-07 22:53:16 +08:00
parent 88962ff193
commit 2b759df576
21 changed files with 1889 additions and 165 deletions

View File

@@ -0,0 +1,57 @@
buildscript {
repositories {
jcenter()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
//springboot jar
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
plugins {
id 'java'
id "io.spring.dependency-management" version "1.0.11.RELEASE"
id 'org.springframework.boot' version "${springBootVersion}"
}
apply plugin: 'io.spring.dependency-management'
description = "maxkey-web-maxkey"
bootJar {
dependsOn jar
baseName = 'maxkey-boot'
version = "${project.version}-ga"
mainClass = 'org.maxkey.MaxKeyApplication'
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 {
compile project(":maxkey-common")
compile project(":maxkey-core")
compile project(":maxkey-persistence")
compile project(":maxkey-authentications:maxkey-authentication-core")
compile project(":maxkey-authentications:maxkey-authentication-social")
compile project(":maxkey-authentications:maxkey-authentication-captcha")
compile project(":maxkey-authentications:maxkey-authentication-otp")
compile project(":maxkey-protocols:maxkey-protocol-authorize")
compile project(":maxkey-protocols:maxkey-protocol-cas")
compile project(":maxkey-protocols:maxkey-protocol-desktop")
compile project(":maxkey-protocols:maxkey-protocol-extendapi")
compile project(":maxkey-protocols:maxkey-protocol-formbased")
compile project(":maxkey-protocols:maxkey-protocol-tokenbased")
compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
compile project(":maxkey-protocols:maxkey-protocol-jwt")
}