init
This commit is contained in:
43
Backend/build.gradle
Normal file
43
Backend/build.gradle
Normal 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')
|
||||
}
|
||||
Reference in New Issue
Block a user