plugins { id 'org.springframework.boot' version '3.4.2' id 'java' id 'war' } apply plugin: 'io.spring.dependency-management' group = 'de.jottyfan' version = '0.1.4' sourceCompatibility = 17 targetCompatibility = 17 repositories { mavenCentral() maven { url "https://gitlab.com/jottyfan/libs/-/raw/main/" } maven { url "https://www.jottyfan.de/libs" } } dependencies { implementation 'org.apache.logging.log4j:log4j-api:2.24.3' implementation 'org.apache.logging.log4j:log4j-core:2.24.3' implementation 'org.apache.logging.log4j:log4j-to-slf4j:2.24.3' implementation 'org.webjars:bootstrap:5.3.3' implementation 'org.webjars:font-awesome:6.7.2' implementation 'org.webjars:jquery:3.7.1' implementation 'org.webjars:popper.js:2.11.7' implementation 'org.webjars.npm:datatables.net:2.2.1' implementation 'org.webjars.npm:datatables.net-buttons:3.2.0' implementation 'org.webjars.npm:datatables.net-responsive:3.0.3' implementation 'org.webjars.npm:datatables.net-bs5:2.2.1' 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.4.2' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6' implementation 'de.jottyfan:carjooq:0.0.1' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'org.postgresql:postgresql' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' } war { doFirst { manifest { attributes("Implementation-Title": project.name, "Implementation-Version": version, "Implementation-Timestamp": new Date()) } } archiveBaseName = project.name archiveVersion = version archiveFileName = 'car.war' } test { useJUnitPlatform() } // add version to manifest springBoot { buildInfo() }