plugins { id 'org.springframework.boot' version '3.1.3' id 'java' id 'war' } apply plugin: 'io.spring.dependency-management' group = 'de.jottyfan' version = '1.3.3' description = """timetrack""" sourceCompatibility = 17 targetCompatibility = 17 repositories { mavenLocal() mavenCentral() maven { url "https://www.jottyfan.de/libs" } maven { url "https://repo.maven.apache.org/maven2" } // maven { url "https://gitlab.com/jottyfan/libs/-/raw/main" } } dependencies { implementation 'org.apache.logging.log4j:log4j-api:2.20.0' implementation 'org.apache.logging.log4j:log4j-core:2.20.0' implementation 'org.apache.logging.log4j:log4j-to-slf4j:2.20.0' implementation 'org.webjars:bootstrap:5.3.1' implementation 'org.webjars:font-awesome:6.4.2' 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:jquery-ui:1.13.2' implementation 'org.webjars:fullcalendar:5.11.3' implementation 'com.google.code.gson:gson:2.10.1'; implementation 'org.webjars.bowergithub.datatables:datatables:1.10.21' 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.1.2' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6' implementation 'de.jottyfan:timetrackjooq:0.1.2' implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.2.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()) } } baseName = project.name version = version archiveName = 'timetrack.war' } test { useJUnitPlatform() } // add version to manifest springBoot { buildInfo() }