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

78 lines
1.6 KiB
Groovy
Raw Normal View History

2020-11-03 19:25:46 +08:00
buildscript {
repositories {
jcenter()
}
dependencies {
}
}
2020-11-14 20:38:06 +08:00
2020-11-03 19:25:46 +08:00
2019-04-29 23:53:10 +08:00
description = "maxkey-web-maxkey"
// Apply the java plugin to add support for Java
apply plugin: 'java'
2019-11-10 12:38:42 +08:00
//apply plugin: 'war'
2020-07-08 08:26:18 +08:00
//apply plugin: 'eclipse-wtp'
//apply plugin: 'com.bmuschko.tomcat-base'
//apply plugin: 'com.bmuschko.tomcat'
2019-04-29 23:53:10 +08:00
2020-11-14 20:38:06 +08:00
/*
plugins {
id 'com.google.cloud.tools.jib' version '2.6.0'
id 'org.springframework.boot' version '2.3.4.RELEASE'
}
2020-11-03 19:25:46 +08:00
jib {
from {
image = 'adoptopenjdk:11-jre-openj9'
}
to {
2020-11-14 20:38:06 +08:00
image = "maxkey/maxkey"
2020-11-03 19:25:46 +08:00
tags = ["${project.version}".toString(), 'latest']
}
container {
jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=80']
ports = ['80']
}
2019-04-29 23:53:10 +08:00
}
2020-11-14 20:38:06 +08:00
*/
2020-11-03 19:25:46 +08:00
dependencies {
2019-04-29 23:53:10 +08:00
compile project(":maxkey-core")
compile project(":maxkey-persistence")
2019-04-29 23:53:10 +08:00
compile project(":maxkey-authentications")
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")
2020-11-22 23:19:51 +08:00
compile project(":maxkey-protocols:maxkey-protocol-jwt")
2020-06-30 16:59:32 +08:00
compile project(":maxkey-identitys:maxkey-identity-kafka")
2019-04-29 23:53:10 +08:00
}
2020-07-08 08:26:18 +08:00
/*
2019-04-29 23:53:10 +08:00
//For Eclipse IDE only
eclipse {
wtp {
component {
//define context path, default to project folder name
contextPath = '/maxkey'
}
}
}
tomcat {
httpPort = 80
contextPath = '/maxkey'
2020-07-08 08:26:18 +08:00
}*/