Files
BiCO/build.gradle
Jottyfan e991c26c13 initial
2023-09-09 23:15:47 +02:00

72 lines
1.6 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.1.3'
id "io.spring.dependency-management" version "1.1.2"
id 'war'
id 'eclipse'
id 'application'
}
group = 'de.jottyfan.bico'
version = '0.0.0'
description = """BibleClassOrganizer"""
sourceCompatibility = 17
targetCompatibility = 17
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())
}
}
baseName = project.name
version = version
archiveName = 'BiCO.war'
}
dependencies {
implementation 'de.jottyfan:bicolib:1'
implementation 'org.springframework.boot:spring-boot-starter-jooq'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.0.0'
implementation 'org.webjars:bootstrap:5.3.1'
implementation 'org.webjars.npm:bootstrap-icons:1.10.5'
implementation 'org.webjars:jquery:3.7.1'
implementation 'org.webjars:datatables:1.13.5'
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()
}