fix deprecatino warning in build.gradle

This commit is contained in:
Thomas Peetz
2025-04-25 07:47:29 +02:00
parent ec7f05d8fc
commit e26aaa1420
+4 -2
View File
@@ -40,7 +40,9 @@ repositories {
maven { setUrl("https://maven.vaadin.com/vaadin-addons") } maven { setUrl("https://maven.vaadin.com/vaadin-addons") }
} }
sourceCompatibility = '17' java {
sourceCompatibility = JavaVersion.VERSION_17
}
configurations { configurations {
developmentOnly developmentOnly
@@ -152,7 +154,7 @@ bootRun {
} }
task dockerImage(type: Exec) { task dockerImage(type: Exec) {
dependsOn["bootJar"] dependsOn(bootJar)
commandLine "docker", "build", ".", "-t", "kontor:${project.version}", "-t", "kontor" commandLine "docker", "build", ".", "-t", "kontor:${project.version}", "-t", "kontor"
} }