79 lines
2.2 KiB
Groovy
79 lines
2.2 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '4.0.0'
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'de.jottyfan'
|
|
version = '1.6.0'
|
|
|
|
description = """timetrack"""
|
|
|
|
java {
|
|
sourceCompatibility = 21
|
|
targetCompatibility = 21
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url "https://www.jottyfan.de/libs" }
|
|
maven { url "https://repo.maven.apache.org/maven2" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'de.jottyfan:timetrackjooq:20240109'
|
|
|
|
implementation 'org.webjars:bootstrap:5.3.8'
|
|
implementation 'org.webjars:font-awesome:7.1.0'
|
|
implementation 'org.webjars:jquery:3.7.1'
|
|
implementation 'org.webjars:popper.js:2.11.7'
|
|
implementation 'org.webjars:datatables:2.3.5'
|
|
implementation 'org.webjars:jquery-ui:1.14.1'
|
|
implementation 'org.webjars.npm:fullcalendar:6.1.19'
|
|
|
|
implementation 'com.google.code.gson:gson';
|
|
|
|
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'
|
|
implementation 'org.springframework.security:spring-security-oauth2-jose'
|
|
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 'commons-logging:commons-logging'
|
|
|
|
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:latest.release'
|
|
|
|
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 = 'timetrack.war'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
// add version to manifest
|
|
springBoot {
|
|
buildInfo()
|
|
}
|