Skip to content

Commit

Permalink
Merge pull request #184 from boudicca-events/abl/fix-main-class
Browse files Browse the repository at this point in the history
fix main boot class
  • Loading branch information
kadhonn authored Nov 4, 2023
2 parents a79855e + dd7bfa0 commit 2ed82ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion boudicca.events/publisher-event-html/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
Expand All @@ -24,7 +25,11 @@ dependencies {
}

tasks.named<BootJar>("bootJar") {
mainClass.set("events.boudicca.publisherhtml.PublisherHtmlApplicationKt")
mainClass.set("base.boudicca.publisher.event.html.PublisherHtmlApplicationKt")
}

tasks.named<BootRun>("bootRun") {
mainClass.set("base.boudicca.publisher.event.html.PublisherHtmlApplicationKt")
}

tasks.withType<Test> {
Expand Down

0 comments on commit 2ed82ff

Please sign in to comment.