diff options
| author | Jakub Lidke | 2023-08-02 15:19:38 +0200 |
|---|---|---|
| committer | Jakub Lidke | 2023-08-02 15:19:38 +0200 |
| commit | a075f731625db4a790d567de4da7d018c3696131 (patch) | |
| tree | fb78894b4d81d8c2af04038808bc55ad8ae16631 /build.gradle.kts | |
| parent | db631fbd8eee6395833d55415e68719c54e773cc (diff) | |
feat: add Dockerfile for build within docker environment and run application within a container.
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 6 |
1 files changed, 4 insertions, 2 deletions
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>("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") } |
