Allow building the project with JDK > 17

This commit is contained in:
Sébastien Deleuze
2024-10-17 10:20:28 +02:00
parent 9cf4508f49
commit 3f00a96a2a

View File

@@ -16,6 +16,8 @@ plugins {
subprojects {
plugins.withType(JavaPlugin) {
plugins.apply("io.spring.javaformat")
sourceCompatibility = "17"
targetCompatibility = "17"
}
if (!buildDir.toString().startsWith(project.rootDir.toString())) {
buildDir = "$buildDir/$project.name"