From a075f731625db4a790d567de4da7d018c3696131 Mon Sep 17 00:00:00 2001 From: Jakub Lidke Date: Wed, 2 Aug 2023 15:19:38 +0200 Subject: feat: add Dockerfile for build within docker environment and run application within a container. --- build.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index eecd959..290362a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { - war id("org.springframework.boot") version "3.1.1" id("io.spring.dependency-management") version "1.1.0" kotlin("jvm") version "1.9.0" @@ -28,6 +27,10 @@ repositories { mavenCentral() } +tasks.getByName("jar") { + enabled = false +} + dependencies { implementation("org.jetbrains.kotlin:kotlin-reflect") implementation("org.springframework.boot:spring-boot-starter-thymeleaf") @@ -47,7 +50,6 @@ dependencies { developmentOnly("org.springframework.boot:spring-boot-devtools") developmentOnly("org.springframework.boot:spring-boot-docker-compose") annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") - providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("io.projectreactor:reactor-test") } -- cgit v1.2.3