Files
NodeCames/build.gradle
T
2026-08-23 08:02:46 +02:00

61 lines
1.5 KiB
Groovy

buildscript {
dependencies {
classpath 'org.flywaydb:flyway-database-postgresql:_'
classpath 'org.postgresql:postgresql:_'
}
}
plugins {
id 'java'
id 'org.flywaydb.flyway' version '13.3.0'
id 'org.springframework.boot' version '4.1.1'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.bernard'
version = '1.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies {
implementation Spring.boot.data.jpa
implementation Spring.boot.jdbc
implementation Spring.boot.thymeleaf
implementation Spring.boot.websocket
implementation Spring.boot.web
implementation 'org.springframework:spring-jdbc:_'
implementation 'org.flywaydb:flyway-core:_'
implementation 'org.flywaydb:flyway-database-postgresql:_'
implementation 'jakarta.validation:jakarta.validation-api:_'
runtimeOnly 'org.webjars:jquery:_'
runtimeOnly 'org.webjars:lodash:_'
developmentOnly Spring.boot.devTools
runtimeOnly 'org.postgresql:postgresql:_'
runtimeOnly 'org.hibernate.orm:hibernate-core:_'
testImplementation Spring.boot.test
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:_'
//Lombok
compileOnly 'org.projectlombok:lombok:_'
annotationProcessor 'org.projectlombok:lombok:_'
testCompileOnly 'org.projectlombok:lombok:_'
testAnnotationProcessor 'org.projectlombok:lombok:_'
}
flyway {
url = "jdbc:postgresql://127.0.0.1:5432/nodecames"
user = 'nodecames'
password = 'nodecames-dev'
driver = 'org.postgresql.Driver'
schemas = ['nodecames']
}
tasks.named('test') {
useJUnitPlatform()
}