Files
John Ahlroos e2cdac569a
All checks were successful
Compile Java Backend / Compile Backend Code (push) Successful in 3m26s
Lint Java Backend / Checkstyle Java Linting (push) Successful in 50s
Lint Dockerfiles / Lint Dockerfiles (push) Successful in 10s
Lint Frontend / Lint HTML, CSS, and JS (push) Successful in 39s
trigger linters
2025-11-10 18:35:54 +01:00

46 lines
1.4 KiB
Groovy

import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
id 'org.springframework.boot' version '3.5.7'
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
version = "1.0.0"
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
}
dependencies {
implementation platform(SpringBootPlugin.BOM_COORDINATES)
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.3"
testImplementation "org.junit.jupiter:junit-jupiter-params:5.9.3"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.3"
}
test {
useJUnitPlatform()
}