2025-12-03 20:13:00 +08:00

59 lines
2.0 KiB
Groovy

buildscript {
dependencies {
//springboot jar
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springbootpluginVersion}")
}
}
plugins {
id 'java' //add support for Java
id 'org.springframework.boot' version "${springbootpluginVersion}"
}
description = "maxkey-web-openapi"
bootJar {
dependsOn jar
archiveBaseName = 'maxkey-openapi-boot'
version = "${project.version}-ga"
mainClass = 'org.dromara.maxkey.MaxKeyApiApplication'
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 {
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-starter:maxkey-starter-web-static")
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")
}