You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
Kotlin
48 lines
1.4 KiB
Kotlin
plugins {
|
|
java
|
|
war
|
|
id("org.springframework.boot") version "3.0.4"
|
|
id("io.spring.dependency-management") version "1.1.0"
|
|
}
|
|
|
|
group = "eu.jonahbauer"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
configurations {
|
|
all {
|
|
exclude(group = "org.springframework.boot", module = "spring-boot-starter-logging")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
implementation("org.springframework.boot:spring-boot-starter-log4j2")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
compileOnly("org.springframework.boot:spring-boot-devtools")
|
|
|
|
// Web
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
|
|
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
|
|
|
|
// Database
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.flywaydb:flyway-core")
|
|
implementation("org.mariadb.jdbc:mariadb-java-client:3.1.2")
|
|
implementation("com.h2database:h2")
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.26")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.26")
|
|
}
|