107 lines
3.1 KiB
Groovy
107 lines
3.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '4.1.1'
|
|
id "io.spring.dependency-management" version "1.1.7"
|
|
id 'java'
|
|
id 'eclipse'
|
|
}
|
|
|
|
group = project.group
|
|
version = project.version
|
|
description = project.description
|
|
|
|
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")
|
|
}
|
|
|
|
springBoot {
|
|
mainClass = 'de.jottyfan.camporganizer.Main'
|
|
buildInfo()
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
bootJar {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': project.name,
|
|
'Implementation-Version': project.version,
|
|
'Implementation-Timestamp': new Date().toString()
|
|
)
|
|
}
|
|
archiveVersion = project.version
|
|
archiveFileName = "CampOrganizer2.jar"
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jooq:jooq'
|
|
implementation 'de.jottyfan:COJooq:2026.10.12'
|
|
|
|
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 'org.springframework.boot:spring-boot-starter-log4j2'
|
|
|
|
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-web'
|
|
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-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'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-tomcat'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
modules {
|
|
module("org.springframework.boot:spring-boot-starter-logging") {
|
|
replacedBy("org.springframework.boot:spring-boot-starter-log4j2", "use log4j2 for logback")
|
|
}
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|