Skip to content

Commit

Permalink
Do not use deprecated mainClassName property.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-sergiichuk committed Nov 12, 2020
1 parent e7bf4aa commit ce52622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-chat-bot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies {
}

application {
mainClassName = "io.spine.chatbot.Application"
mainClass.set("io.spine.chatbot.Application")
}

jib {
Expand All @@ -88,6 +88,6 @@ jib {
tags = setOf("latest")
}
container {
mainClass = application.mainClassName
mainClass = application.mainClass.get()
}
}

0 comments on commit ce52622

Please sign in to comment.