77 lines
2.3 KiB
Groovy
77 lines
2.3 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.4.3'
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'de.jottyfan'
|
|
version = '0.0.1'
|
|
|
|
description = """JFileCloud"""
|
|
|
|
sourceCompatibility = 21
|
|
targetCompatibility = 21
|
|
|
|
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.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:datatables:2.1.8'
|
|
implementation 'org.webjars:jquery-ui:1.14.1'
|
|
|
|
implementation 'com.google.code.gson:gson:2.12.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.springframework.boot:spring-boot-starter-test'
|
|
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
|
|
|
|
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.4.0'
|
|
|
|
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 = 'JFileCloud.war'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
// add version to manifest
|
|
springBoot {
|
|
buildInfo()
|
|
}
|