plugins { id 'java' id 'org.springframework.boot' version '3.3.4' id "io.spring.dependency-management" version "1.1.6" id 'war' id 'eclipse' id 'application' } group = 'de.jottyfan.bico' version = '0.2.6' description = """BibleClassOrganizer""" java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } sourceCompatibility = 21 targetCompatibility = 21 mainClassName = "de.jottyfan.bico.Main" repositories { mavenCentral() maven { url "https://www.jottyfan.de/libs/" } maven { url "https://repo.maven.apache.org/maven2" } } war { doFirst { manifest { attributes("Implementation-Title": project.name, "Implementation-Version": version, "Implementation-Timestamp": new Date()) } } archiveBaseName = project.name archiveVersion = version archiveFileName = 'BiCO.war' } dependencies { implementation 'de.jottyfan:bicolib:8' implementation 'org.mnode.ical4j:ical4j:4.0.4' implementation 'org.springframework.boot:spring-boot-starter-jooq' implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:latest.release' implementation 'org.springframework.security:spring-security-oauth2-client' implementation 'org.webjars:bootstrap:5.3.3' implementation 'org.webjars.npm:bootstrap-icons:1.11.3' implementation 'org.webjars:jquery:3.7.1' implementation 'org.webjars.npm:datatables.net:2.1.7' implementation 'org.webjars.npm:datatables.net-buttons:3.1.1' implementation 'org.webjars.npm:datatables.net-responsive:3.0.1' implementation 'org.webjars.npm:datatables.net-bs5:2.1.7' implementation 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'org.springframework.boot:spring-boot-starter-tomcat' testImplementation 'org.springframework.boot:spring-boot-starter-test' } test { useJUnitPlatform() } // add version to manifest springBoot { buildInfo() } tasks.withType(JavaCompile).configureEach { options.compilerArgs.add("-parameters") }