From dd7bfa0667b6d3b35b57a75811aaeef78d846b88 Mon Sep 17 00:00:00 2001 From: abl Date: Sat, 4 Nov 2023 17:50:39 +0100 Subject: [PATCH] fix main boot class --- boudicca.events/publisher-event-html/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/boudicca.events/publisher-event-html/build.gradle.kts b/boudicca.events/publisher-event-html/build.gradle.kts index 2e5b4640..6868e9d7 100644 --- a/boudicca.events/publisher-event-html/build.gradle.kts +++ b/boudicca.events/publisher-event-html/build.gradle.kts @@ -1,4 +1,5 @@ import org.springframework.boot.gradle.tasks.bundling.BootJar +import org.springframework.boot.gradle.tasks.run.BootRun plugins { id("org.springframework.boot") @@ -24,7 +25,11 @@ dependencies { } tasks.named("bootJar") { - mainClass.set("events.boudicca.publisherhtml.PublisherHtmlApplicationKt") + mainClass.set("base.boudicca.publisher.event.html.PublisherHtmlApplicationKt") +} + +tasks.named("bootRun") { + mainClass.set("base.boudicca.publisher.event.html.PublisherHtmlApplicationKt") } tasks.withType {