This commit is contained in:
Gregor Lohaus
2026-02-25 12:30:27 +01:00
parent df3adf0e3c
commit bd72a98e64
51 changed files with 2103 additions and 0 deletions

43
Backend/build.gradle Normal file
View File

@@ -0,0 +1,43 @@
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.2'
id 'org.graalvm.buildtools.native' version '0.11.1'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.gregor-lohaus'
version = '0.0.1-SNAPSHOT'
description = 'FOSS alternative to WeTransfer'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.webjars:webjars-locator-lite'
implementation 'org.webjars.npm:htmx.org:2.0.4'
implementation 'org.webjars.npm:bootstrap:5.3.3'
runtimeOnly 'org.postgresql:postgresql'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'io.github.wasabithumb:jtoml:1.4.2'
implementation 'io.github.wasabithumb:jtoml-serializer-reflect:1.4.2'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.build {
dependsOn('processAot')
dependsOn('nativeCompile')
}