109 lines
3.1 KiB
Groovy
109 lines
3.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.5.0'
|
|
id "io.spring.dependency-management" version "1.1.7"
|
|
id 'java'
|
|
id 'war'
|
|
id 'eclipse'
|
|
id 'application'
|
|
}
|
|
|
|
group = 'de.jottyfan.camporganizer'
|
|
version = '1.0.0'
|
|
|
|
description = """CampOrganizer2"""
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://www.jottyfan.de/libs/"
|
|
}
|
|
maven {
|
|
url "https://repo.maven.apache.org/maven2"
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.compilerArgs.add("-parameters")
|
|
}
|
|
|
|
application {
|
|
mainClass = 'de.jottyfan.camporganizer.Main'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
war {
|
|
doFirst {
|
|
manifest {
|
|
attributes("Implementation-Title": project.name,
|
|
"Implementation-Version": version,
|
|
"Implementation-Timestamp": new Date())
|
|
}
|
|
}
|
|
version = version
|
|
archiveFileName = 'CampOrganizer2.war'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jooq:jooq:3.20.8'
|
|
implementation 'de.jottyfan:COJooq:2024.10.24'
|
|
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.25.2'
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.25.2'
|
|
implementation 'org.apache.logging.log4j:log4j-to-slf4j:2.25.2'
|
|
|
|
implementation 'org.webjars:bootstrap:5.3.8'
|
|
implementation 'org.webjars:font-awesome:7.0.1'
|
|
implementation 'org.webjars:jquery:3.7.1'
|
|
implementation 'org.webjars:popper.js:2.11.7'
|
|
implementation 'org.webjars:datatables:1.13.5'
|
|
implementation 'org.webjars:select2:4.0.13'
|
|
implementation 'org.webjars.npm:fancyapps__fancybox:3.5.7'
|
|
|
|
implementation 'net.sf.biweekly:biweekly:0.6.8'
|
|
|
|
// for using the keycloak rest interface
|
|
implementation 'org.keycloak:keycloak-server-spi:26.4.1'
|
|
implementation 'org.keycloak:keycloak-admin-client:26.0.7'
|
|
implementation 'org.jboss.resteasy:resteasy-client:7.0.0.Final'
|
|
|
|
// backward compatibility until the complete registration is converted to keycloak
|
|
implementation 'org.jasypt:jasypt:1.9.3'
|
|
|
|
// rss support
|
|
implementation 'com.rometools:rome:2.1.0'
|
|
|
|
// mail support
|
|
implementation 'commons-validator:commons-validator:1.10.0'
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-jooq'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
|
|
implementation 'org.springframework.security:spring-security-oauth2-authorization-server:1.5.3'
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
|
|
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.4.0'
|
|
|
|
implementation 'commons-io:commons-io:2.20.0'
|
|
|
|
runtimeOnly 'org.springframework.boot:spring-boot-starter-tomcat'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
// add version to manifest
|
|
springBoot {
|
|
buildInfo()
|
|
}
|