Files
MaxKey/maxkey-web-manage/build.gradle

88 lines
2.0 KiB
Groovy
Raw Normal View History

2020-11-03 19:25:46 +08:00
buildscript {
repositories {
jcenter()
}
dependencies {
2020-12-22 07:46:56 +08:00
//springboot jar
//classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
2020-11-03 19:25:46 +08:00
}
}
2019-04-29 23:53:10 +08:00
description = "maxkey-web-manage"
2019-12-09 00:25:20 +08:00
// Apply the java plugin to add support for Java
apply plugin: 'java'
2020-12-22 07:46:56 +08:00
//springboot jar
/*
apply plugin: 'io.spring.dependency-management'
plugins {
id 'org.springframework.boot' version "${springBootVersion}"
}
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
)
}
}
*/
2019-12-09 00:25:20 +08:00
2020-11-14 20:38:06 +08:00
/*
plugins {
2020-12-22 07:46:56 +08:00
id 'com.google.cloud.tools.jib' version "${jibGradlePluginVersion}"
id 'org.springframework.boot' version "${springBootVersion}"
2020-11-14 20:38:06 +08:00
}
2020-11-03 19:25:46 +08:00
jib {
from {
image = 'adoptopenjdk:11-jre-openj9'
}
to {
2020-12-22 07:46:56 +08:00
image = "maxkey/maxkey-mgt-docker"
2020-11-03 19:25:46 +08:00
tags = ["${project.version}".toString(), 'latest']
}
container {
2020-12-22 07:46:56 +08:00
jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=9521']
ports = ['9521']
2020-11-03 19:25:46 +08:00
}
2019-12-09 00:25:20 +08:00
}
2020-11-14 20:38:06 +08:00
*/
2019-04-29 23:53:10 +08:00
dependencies {
2021-02-15 09:57:52 +08:00
compile project(":maxkey-common")
2019-04-29 23:53:10 +08:00
compile project(":maxkey-core")
2021-02-15 10:47:29 +08:00
compile project(":maxkey-authentications:maxkey-authentication-core")
2021-02-08 21:11:46 +08:00
compile project(":maxkey-authentications:maxkey-authentication-captcha")
2021-02-15 09:57:52 +08:00
compile project(":maxkey-authentications:maxkey-authentication-otp")
compile project(":maxkey-persistence")
2019-04-29 23:53:10 +08:00
compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
2020-06-13 12:29:27 +08:00
compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")
compile project(":maxkey-identitys:maxkey-identity-scim")
compile project(":maxkey-identitys:maxkey-identity-rest")
2019-04-29 23:53:10 +08:00
}
2020-07-08 08:26:18 +08:00
/*
2019-04-29 23:53:10 +08:00
eclipse {
wtp {
component {
//define context path, default to project folder name
2019-06-28 07:33:01 +08:00
contextPath = 'maxkey-mgt'
2019-04-29 23:53:10 +08:00
}
}
2020-07-08 08:26:18 +08:00
}*/