78 lines
1.6 KiB
Groovy
78 lines
1.6 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
description = "maxkey-web-maxkey"
|
|
|
|
// Apply the java plugin to add support for Java
|
|
apply plugin: 'java'
|
|
//apply plugin: 'war'
|
|
//apply plugin: 'eclipse-wtp'
|
|
//apply plugin: 'com.bmuschko.tomcat-base'
|
|
//apply plugin: 'com.bmuschko.tomcat'
|
|
|
|
/*
|
|
plugins {
|
|
id 'com.google.cloud.tools.jib' version '2.6.0'
|
|
id 'org.springframework.boot' version '2.3.4.RELEASE'
|
|
}
|
|
|
|
jib {
|
|
from {
|
|
image = 'adoptopenjdk:11-jre-openj9'
|
|
}
|
|
to {
|
|
image = "maxkey/maxkey"
|
|
tags = ["${project.version}".toString(), 'latest']
|
|
}
|
|
container {
|
|
jvmFlags = ['-Dfile.encoding=utf-8', '-Dserver.port=80']
|
|
ports = ['80']
|
|
}
|
|
}
|
|
*/
|
|
|
|
dependencies {
|
|
compile project(":maxkey-core")
|
|
compile project(":maxkey-persistence")
|
|
|
|
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")
|
|
compile project(":maxkey-protocols:maxkey-protocol-jwt")
|
|
compile project(":maxkey-identitys:maxkey-identity-kafka")
|
|
|
|
}
|
|
/*
|
|
//For Eclipse IDE only
|
|
eclipse {
|
|
|
|
wtp {
|
|
component {
|
|
|
|
//define context path, default to project folder name
|
|
contextPath = '/maxkey'
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
tomcat {
|
|
httpPort = 80
|
|
contextPath = '/maxkey'
|
|
|
|
}*/ |