fileserver/build.gradle.kts

53 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2024-08-28 19:11:04 +00:00
plugins {
java
2024-08-31 19:20:21 +00:00
idea
2024-08-28 19:11:04 +00:00
id("org.springframework.boot") version "3.3.3"
id("io.spring.dependency-management") version "1.1.6"
id("org.graalvm.buildtools.native") version "0.10.2"
2024-08-31 19:20:21 +00:00
id("io.freefair.lombok") version "8.10"
2024-08-28 19:11:04 +00:00
}
2024-08-31 19:20:21 +00:00
idea
2024-08-28 19:11:04 +00:00
group = "de.mattv"
version = "0.1.0"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
2024-08-31 19:20:21 +00:00
idea {
module {
isDownloadJavadoc = true
isDownloadSources = true
}
}
val copyIndexHtml by tasks.creating(Copy::class) {
from("$projectDir/frontend/dist/index.html")
into("${layout.buildDirectory.get()}/resources/main/public")
}
tasks.processResources.get().dependsOn(copyIndexHtml)
2024-08-28 19:11:04 +00:00
dependencies {
implementation("org.springframework.boot:spring-boot-starter-mail")
2024-08-31 19:20:21 +00:00
implementation("org.springframework.security:spring-security-core")
2024-08-28 19:11:04 +00:00
implementation("org.springframework.boot:spring-boot-starter-web")
2024-08-31 19:20:21 +00:00
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0")
implementation("com.thoughtworks.xstream:xstream:1.4.20")
implementation("dev.samstevens.totp:totp:1.7")
implementation("com.twelvemonkeys.imageio:imageio-webp:3.11.0")
implementation("com.twelvemonkeys.imageio:imageio-jpeg:3.11.0")
implementation("net.coobird:thumbnailator:0.4.20")
implementation("org.bouncycastle:bcprov-jdk18on:1.78")
2024-08-28 19:11:04 +00:00
}