Files
BiCO/build.gradle
2024-07-30 10:43:25 +02:00

81 lines
2.0 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id "io.spring.dependency-management" version "1.1.6"
id 'war'
id 'eclipse'
id 'application'
}
group = 'de.jottyfan.bico'
version = '0.1.1'
description = """BibleClassOrganizer"""
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
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())
}
}
archiveBaseName = project.name
archiveVersion = version
archiveFileName = 'BiCO.war'
}
dependencies {
implementation 'de.jottyfan:bicolib: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:datatables:2.1.0'
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()
}